Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Indentation in XCode 3.2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Indentation in XCode 3.2



After upgrading to XCode 3.2, whenever I edit
my code, the indentation isn't working the way it used to.
I can't seem to find a preference setting to reinstate
the indentation style back to the way it used to work.

I used to have my source code this way:

if (test)
  {
    foo = bar;
  }

and xcode used to auto indented the statements inside the block
by 2 spaces more than the braces (which I liked).

But now, instead, XCode 3.2 auto indents the same code as:

if (test)
  {
  foo = bar;
  }

I have a huge amount of source code, and I'd like to keep the new
changes to the source code consistent with the old code's indentation style.


How can I get xcode 3.2 to do indenting the way it did
in the previous version? I can't seem to find the appropriate
preference setting for this.

  -- Brian

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >how do you go back (From: Bob Sabiston <email@hidden>)
 >Re: how do you go back (From: Joar Wingfors <email@hidden>)
 >Re: how do you go back (From: Bob Sabiston <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.