How to change the XCode's default function style?

type this command in the terminal: app

defaults write com.apple.Xcode XCCodeSenseFormattingOptions '{ "BlockSeparator" = "\n";}' this

Then try to create a new project using Xcode,you can find the function's style change spa

- (void) method{ code

} orm

to ci

- (void) method terminal

{ it

} io

Thanks,guy~ function

相關文章
相關標籤/搜索