Xcode: Adjusting indentation of auto-generated braces?

前端 未结 6 1283
遥遥无期
遥遥无期 2020-12-07 17:37

Code auto-generated by Xcode seems to have the opening brace on the same line by default:

@interface Controller : NSObject {

}

I\'d like t

6条回答
  •  爱一瞬间的悲伤
    2020-12-07 18:10

    I believe that "defaults write com.apple.Xcode" doesn't work on the latest versions of Xcode (7.x)

    The workaround is to edit the default Code Snippets.

    However, Xcode doesn't allow to modify the default Code Snippets.

    In order to modify them, you can download a "Snippet Edit" program from here

提交回复
热议问题