What I would like even more is editor support with this stuff. And I think the
"swift-format" tool could probably help here too.
I remember a time when we had problems with LF vs. CR vs. CRLF line endings.
How did Sublime Text Edit (or any other sane editor) solve this issue? Do we
all have to
Definitely +1.
I've had a long discussion about this from one of the Xcode developers a few
months back, pointing out that given how long has Xcode been around it has
really really poor support for customizing the codestyle.
I really like what AppCode from JetBrains does - it allows you to even
+ 1. There are only a few things I wanted to change in my source-code.
e.g.
if … {
}
else {
}
OR
closure() {
…. in
}
MonoDevelop has a really nice customization menu for almost everything. Would
be handy if Xcode had something like this too.
--
Adrian Zubarev
Sent with Airmail
Am 18. M
+1
I also hate the K&R brace style. Really want the ability to customize the
formatting of Swift code.
On 16 May 2016, at 22:42, Daniel Martín via swift-evolution
wrote:
As Swift is getting traction in more and more platforms outside of Apple, we can expect
that many coding styles different
+1,000,000
I hate the K&R brace style. :)
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.
> On 16 May 2016, at 22:42,
It would be awesome if Xcode exposed per-file or per-project formatting
settings, and could enforce them in the editor. I hope someone from the dev
tools group will be able to comment (and help guide the implementation of
this) if there are plans for such a feature.
Jacob
On Tue, May 17, 2016 at
I would love to see flexible formatting styles be more easily available
like this.
-Shawn
On Tue, May 17, 2016 at 10:33 AM Daniel Martín
wrote:
> 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
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