Closed wiruzx closed 8 years ago
Please include support for the playground single line delimiter comment syntax //:
Playground Reference for the M-x fill-paragraph
function.
:+1:
When will this mode have Swift 2 support?
afaik no one started working on this issue, so it's hard to give any estimation when it will be implemented. As with any open source project, contributions are highly encouraged.
I have updated my personal branch to support Swift 2.1 https://github.com/taku0/swift-mode/tree/swift-2-indentation.
This branch also supports playground single line delimiter for fill-paragraph.
Swift 2.1 indentation demo: https://gist.github.com/taku0/8455a1c9f87b11550599
Swift 2.2 will introduce associatedtype
keyword to replace typealias
used for associated type declarations.
https://github.com/apple/swift-evolution/blob/master/proposals/0011-replace-typealias-associated.md
Closing in favor of the new indentation logic.
guard
do
blocksthrows
in function declarationdo catch
syntaxtry
keyworddefer
if
for
@testable
repeat
indirect
cases in enums