Aaron
Aaron

Reputation: 1352

CodeSense Formatting is not working for xCode4

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?

Upvotes: 1

Views: 197

Answers (1)

Sai
Sai

Reputation: 3967

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

Upvotes: 3

Related Questions