Xcode 4 with opening brace on new line

后端 未结 6 1092
梦如初夏
梦如初夏 2020-11-29 01:21

It seems like the new Xcode 4 does not apply the XCCodeSenseFormattingOptions anymore. At least for me :(

Anyway, do you know how to put the opening bra

6条回答
  •  無奈伤痛
    2020-11-29 02:01

    In Xcode 4.3.1, if you edit the following file as sudo from the terminal, as Scott Forbes described above, you can change where the opening brace appears. It would go away with new installations of Xcode, I would imagine, so I would vote that this is a bug with Apple too.

    /Applications/Xcode.app/Contents/PlugIns/IDECodeSnippetLibrary.ideplugin/Contents/Resources/SystemCodeSnippets.codesnippets

    Leslie

提交回复
热议问题