Bordertown Labs Blog

Notes from Bordertown Labs with posts regarding software development for the iPhone, Ruby on Rails, tips and code.

» Contact with inquiries.


Visualize your geodata in augmented reality with 3DAR by Spot Metrix.


Feb 22nd, 2011 @ 10:35 am

Changing the default "Code Sense" indentation and whitespaces

Run this on the command line:

defaults write com.apple.Xcode XCCodeSenseFormattingOptions -dict PreExpressionsSpacing “” BlockSeparator “\n” PostBlockSeparator “\n”

…to make Xcode’s if/else macro look like this:

if()
{

}
else
{

}




Comments (View)

 


 
blog comments powered by Disqus

Archive · RSS · Theme by Autumn