Allman Indent Style in Xcode

If you would like to change your Xcode environment to use the Allman indention style (opening curly braces go on a new line), simply run this command from terminal:

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

Thanks to Scyanide’s World for this tip!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s