Re: Where are the Xcode source-formatting options buried this time?
Re: Where are the Xcode source-formatting options buried this time?
- Subject: Re: Where are the Xcode source-formatting options buried this time?
- From: "T.J. Usiyan" <email@hidden>
- Date: Wed, 21 Mar 2012 07:58:14 -0400
I have begun to use uncrustify instead of xcode for this. I have to remember to use it, but the workflow should eventually be hard for Apple to disturb. The options given by apple were never as robust as uncrustify or any code beautifier.
TJ
On Wed, Mar 21, 2012 at 1:11 AM, Rick Mann
<email@hidden> wrote:
I'd really like to be able to change this, too.
On Mar 20, 2012, at 21:35 , G S wrote:
> 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
_______________________________________________
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
_______________________________________________
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