Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
XCode & braces
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="johnjay1" data-source="post: 792940" data-attributes="member: 83574"><p>[CODE]$ defaults write com.apple.Xcode XCCodeSenseFormattingOptions -dict BlockSeparator "\\n"[/CODE]</p><p></p><p>I use the Allman style (as it is cited in the ANSI C standard) and it too has an equivalent brace placement style.</p><p></p><p>Other various code style preferences: <a href="http://developer.apple.com/documentation/developertools/Reference/XcodeUserDefaultRef/100-Xcode_User_Defaults/chapter_2_section_5.html" target="_blank">Xcode User Default Reference: Source Code Formatting User Defaults</a></p></blockquote><p></p>
[QUOTE="johnjay1, post: 792940, member: 83574"] [CODE]$ defaults write com.apple.Xcode XCCodeSenseFormattingOptions -dict BlockSeparator "\\n"[/CODE] I use the Allman style (as it is cited in the ANSI C standard) and it too has an equivalent brace placement style. Other various code style preferences: [url=http://developer.apple.com/documentation/developertools/Reference/XcodeUserDefaultRef/100-Xcode_User_Defaults/chapter_2_section_5.html]Xcode User Default Reference: Source Code Formatting User Defaults[/url] [/QUOTE]
Verification
Name this item 🌈
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
XCode & braces
Top