• 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
Case label indent
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Case label indent


  • Subject: Case label indent
  • From: Alastair Houghton <email@hidden>
  • Date: Tue, 15 Mar 2011 09:29:22 +0000

Hi all,

On Xcode 3.x, it was possible to stop Xcode from needlessly indenting case labels---i.e. so that switch statements look like this:

  switch (foo) {
  case Bar:
    break;
  case Baz:
    break;
  default:
    break;
  }

rather than

  switch (foo) {
    case Bar:
      break;
    case Baz:
      break;
    default:
      break;
  }

which is what Xcode has always preferred.

Doing this used to require manually setting the XCCodeSenseFormattingOptions user default.

Xcode 4 doesn't appear to respect this default setting any more.  Is there an equivalent so that we can customise the indentation?

Kind regards,

Alastair.

--
http://alastairs-place.net




 _______________________________________________
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

  • Prev by Date: Re: Developer program
  • Next by Date: Re: Developer program
  • Previous by thread: IB 3.2.5 plug-in is not loading
  • Next by thread: what's the format of TemplateInfo.plist for file template
  • Index(es):
    • Date
    • Thread