• 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
Where are the Xcode source-formatting options buried this time?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Where are the Xcode source-formatting options buried this time?


  • Subject: Where are the Xcode source-formatting options buried this time?
  • From: G S <email@hidden>
  • Date: Tue, 20 Mar 2012 21:35:57 -0700

There used to be a couple of places where you could change the way Xcode's auto-completion formatted your code (where braces were placed, whether there's a space between an "if" and the subsequent "(", stuff like that).

One place was a file, under Library somewhere I think.  A "langspec" file or something, if I remember correctly.

There were also user defaults.  This used to set the above-mentioned options the way I want:

defaults write com.apple.Xcode XCCodeSenseFormattingOptions -dict FunctionBlockSeparator "\n" BlockSeparator "\n" PreExpressionsSpacing ""

But this doesn't work anymore.  I dug around in the Xcode package, but didn't find any file containing likely options.

Anybody know where this stuff is now?

Thanks!
 _______________________________________________
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

  • Follow-Ups:
    • Re: Where are the Xcode source-formatting options buried this time?
      • From: Rick Mann <email@hidden>
  • Prev by Date: Re: Brace Insertion Tweak
  • Next by Date: Re: Where are the Xcode source-formatting options buried this time?
  • Previous by thread: Re: How to get Xcode 4.3 to maintain a second console window in a second monitor
  • Next by thread: Re: Where are the Xcode source-formatting options buried this time?
  • Index(es):
    • Date
    • Thread