1

I typed both the codes in the terminal to bring the opening brace to new line.

defaults write com.apple.Xcode XCCodeSenseFormattingOptions -dict BlockSeparator " "

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

Both these are not working for xcode4. What to do to bring the opening brace to new line?

Aaron
  • 1,342
  • 2
  • 16
  • 34

1 Answers1

3

Yes -- this is broken in XCode4. Take a look at the post from Scott Forbes in
Xcode 4 with opening brace on new line

Community
  • 1
  • 1
Sai
  • 3,819
  • 1
  • 25
  • 28