Possible Duplicate:
Xcode 4 with opening brace on new line
I just want to change the braces style to
if (condition)
{
}
from the default style
if(condition) {
}
I cannot find the com.apple.Xcode plist after I installed the Xcode 4. So I'm not able to modify the xccodesenseformattingoptions BlockSeparator to \n.
Please help
Thankz in advance
You can replace the SystemCodeSnippets.codesnippets file, as detailed here: http://zurb.com/forrst/posts/Put_that_where_it_might_belong_Xcode-PNL
I don't know if the same file will work in Xcode 4.3, but it's worth a try. Because everything is bundled up together now, the new location of the file you need to replace is /Applications/Xcode.app/Contents/PlugIns/IDECodeSnippetLibrary.ideplugin/Contents/Resources/SystemCodeSnippets.codesnippets
.
For XCode 4 it's a little more complicated. See detailed answer here:
Xcode 4 with opening brace on new line
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With