Xcode: Adjusting indentation of auto-generated braces?

前端 未结 6 1277
遥遥无期
遥遥无期 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:29

    Read this: XCCodeSenseFormattingOptions

    This document describes all the formatting options that auto-complete will use for brace and argument style. Here are mine:

        XCCodeSenseFormattingOptions =     {
        BlockSeparator = "\\n";
        PreMethodDeclSpacing = "";
    };
    

提交回复
热议问题