swift-emacs / swift-mode

Emacs support for Apple's Swift programming language.
GNU General Public License v3.0
372 stars 47 forks source link

Swift 2 support #96

Closed wiruzx closed 8 years ago

wiruzx commented 9 years ago
tharpa commented 9 years ago

Please include support for the playground single line delimiter comment syntax //: Playground Reference for the M-x fill-paragraph function.

AlexChesters commented 9 years ago

:+1:

nicklanasa commented 9 years ago

When will this mode have Swift 2 support?

ap4y commented 9 years ago

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.

taku0 commented 8 years ago

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.

taku0 commented 8 years ago

Swift 2.1 indentation demo: https://gist.github.com/taku0/8455a1c9f87b11550599

taku0 commented 8 years ago

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

taku0 commented 8 years ago

Closing in favor of the new indentation logic.