Settings

Theme

Swift Local Refactoring

swift.org

70 points by beltex 8 years ago · 4 comments

Reader

electrum 8 years ago

How does this compare to the refactoring support available in AppCode?

https://www.jetbrains.com/objc/features/refactorings-and-cod...

  • xenadu02 8 years ago

    This post is specifically about how you can write your own refactoring (and contribute them back to the Swift compiler if you choose to do so).

    The nice thing about Swift being open-source and Xcode supporting multiple Toolchains is you can test your own modifications to the language, refactorings, etc. Xcode will syntax highlight your language changes and provide access to your refactorings.

    It is also a great way to test out other people's proposed changes to the language: pull their branch (or download their toolchain archive) and give it a try. As implementations for proposed Swift 5 changes start to become available you can test them in real situations and provide informed feedback.

    As with any code, be careful about downloading from untrusted sources!

  • dep_b 8 years ago

    Worse. But not as bad as it used to be (nothing).

    Application wide refactoring is a really nice thing to have in an IDE.

Flott 8 years ago

The lack of refactoring was a huge pain when I tried swift in Xcode. I'm glad that the issue is finally getting some attention.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection