Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Extra indentation after opening bracket in Xcode 3.0



> James Bucanek <email@hidden> wrote:
> I just brought over a large Objective-C project from
> Xcode 2.4 
> to 3.0. This project uses the
> Whitesmiths style of indenting:
> 
>      for (i=0; i<limit; i++)
>          {
>          [object doSomethingWith:i];
>          }
> 
> In Xcode 3, this gets reindented like this:
> 
>      for (i=0; i<limit; i++)
>          {
>              [object doSomethingWith:i];
>          }
> 
> I looked at the indentation settings in 2.4/2.5 and
> compared them with what's set in Xcode 3.0 and
> I can't find any obvious difference. Is this a bug,
> or is there some magic that will fix it?

I had filed a bug asking for an option for something close
to the latter style, and I think that in making that work,
they broke the other indentation styles.

File another bug, please, asking for options to let it work
each way according to the developer's preference: S style,
braces even with the for or while or if but with indented
content, and indented braces and content even with braces...


      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden

References: 
 >Extra indentation after opening bracket in Xcode 3.0 (From: James Bucanek <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.