• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Xcode 1.1 ignores Tabs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode 1.1 ignores Tabs


  • Subject: Re: Xcode 1.1 ignores Tabs
  • From: Martin Wengenmayer <email@hidden>
  • Date: Tue, 30 Dec 2003 12:45:17 +0100

Am 30.12.2003 um 04:06 schrieb David Ewing:

On Dec 24, 2003, at 7:32 AM, Martin Wengenmayer wrote:

Hi,
I moved my project from Project Builder to Xcode 1.1 and know the hole
formating of my code is wrong. Especially almost all tabs are just
ignored by Xcode.I typed the tabs manually without code indentation in
Project Builder.

In Project Builder my if (or for, while etc) statements looked like
this:

if(theEvent!=NULL){
	setVector2f(end2D,[theEvent locationInWindow].x,[theEvent
locationInWindow].y);
	[_document redrawOpenGL];
	}

If I open the same file in Xcode the tabs are just ignored. All lines
just begin on the left.

if(theEvent!=NULL){
setVector2f(end2D,[theEvent locationInWindow].x,[theEvent
locationInWindow].y);
[_document redrawOpenGL];
}

Turning on and off code indentation in Xcode had no effect.

Is that a feature which can be turned off or should I send in a bug
report? Or does there exist a work around?

It's not obvious what might be going on here. If you do Format->Tab Settings... on the file, what does it show? What settings is shown in Xcode's Text Editing preferences? It sounds like they're set to 0 (which shouldn't be possible).


Dave


Sorry,
it was my fault. I had a tab width of 8 in ProjectBuilder and the factory setting of Xcode was a tabwidth of 4. After turning Xcode to a tab width of 8 everthing worked fine again.


By,
Martin

_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Xcode 1.1 ignores Tabs (From: Martin Wengenmayer <email@hidden>)
 >Re: Xcode 1.1 ignores Tabs (From: David Ewing <email@hidden>)

  • Prev by Date: RE: Good golly - What HAVE I Done? [SOLVED]
  • Next by Date: Changing the default libtool used by Xcode
  • Previous by thread: Re: Xcode 1.1 ignores Tabs
  • Next by thread: Xcode X11 Project
  • Index(es):
    • Date
    • Thread