• 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: Extra indentation after opening bracket in Xcode 3.0
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

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

  • Prev by Date: Re: CVS tool missing after uninstalling Xcode 3.0 and reinstalling Xcode 2.5
  • Next by Date: Re: Problems updating a dependent library
  • Previous by thread: Extra indentation after opening bracket in Xcode 3.0
  • Next by thread: Final stand along applications
  • Index(es):
    • Date
    • Thread