Re: Extra indentation after opening bracket in Xcode 3.0
Re: Extra indentation after opening bracket in Xcode 3.0
- Subject: Re: Extra indentation after opening bracket in Xcode 3.0
- From: Jeffrey Oleander <email@hidden>
- Date: Sun, 24 Feb 2008 11:38:32 -0800 (PST)
> 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:
This email sent to email@hidden