<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">+ 1. There are only a few things I wanted to change in my source-code.</div> <div><br></div>e.g.<div><br></div><div>if … {</div><div>}</div><div>else {</div><div>}</div><div><br></div><div>OR</div><div><br></div><div>closure() {</div><div>&nbsp; &nbsp; &nbsp;…. in</div><div>}</div><div><br></div><div>MonoDevelop has a really nice customization menu for almost everything. Would be handy if Xcode had something like this too.</div><div> <div id="bloop_sign_1463585972456645888" class="bloop_sign"><div style="font-family:helvetica,arial;font-size:13px">--&nbsp;<br>Adrian Zubarev<br>Sent with Airmail</div></div> <br><p class="airmail_on">Am 18. Mai 2016 bei 17:18:49, Jeremy Pereira via swift-evolution (<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a>) schrieb:</p> <blockquote type="cite" class="clean_bq"><span><div><div></div><div>+1,000,000 <br><br>I hate the K&amp;R brace style. :)<br><br>What I would really like is something similar to Eclipse’s system that pretty much allows you to customise almost every aspect of the Java formatting style to your own preferences and also export them in a handy XML file.<br><br><br>&gt; On 16 May 2016, at 22:42, Daniel Martín via swift-evolution &lt;swift-evolution@swift.org&gt; wrote:<br>&gt; <br>&gt; As Swift is getting traction in more and more platforms outside of Apple, we can expect that many coding styles different from what Apple imposes with SourceKit's indenting rules will emerge. According to https://bugs.swift.org/browse/SR-146, we now have decoupled indenting logic from SourceKit into its own library, and a "swift-format" tool is in the making.<br>&gt; <br>&gt; I am working on adding support for different coding styles to libIDE. For example, with my changes you could decide how a case label should be indented with respect to its parent switch context, among other things. The current, hard coded indenting decisions in libIDE could be named the "Apple" style, just like Clang supports Google, LLVM, Mozilla, coding styles for C++. Also, this is something that can be supported by external tools like Xcode quite easily.<br>&gt; <br>&gt; Do you think this is a good feature to have?<br>&gt; <br>&gt; --<br>&gt; Daniel Martín<br>&gt; _______________________________________________<br>&gt; swift-evolution mailing list<br>&gt; swift-evolution@swift.org<br>&gt; https://lists.swift.org/mailman/listinfo/swift-evolution<br><br>_______________________________________________<br>swift-evolution mailing list<br>swift-evolution@swift.org<br>https://lists.swift.org/mailman/listinfo/swift-evolution<br></div></div></span></blockquote></div></body></html>