Swift Unwrapped
Swift Unwrapped
JP Simard, Jesse Squires, Spec Network, Inc.
28: Refactoring Engine
32 minutes Posted Sep 11, 2017 at 5:00 am.
0:00
32:59
Download MP3
Show notes
  • Swift.org blog post on Swift Local Refactoring: https://swift.org/blog/swift-local-refactoring/
  • Clang-based refactoring engine: http://lists.llvm.org/pipermail/cfe-dev/2017-June/054286.html
  • Adding indexing support to Clangd: http://lists.llvm.org/pipermail/cfe-dev/2017-May/053869.html
  • Small PR demonstrating implementing a refactoring action to simplify long number literal format:
    • https://github.com/apple/swift/pull/11711
    • SR-5746: https://bugs.swift.org/browse/SR-5746
  • All Swift refactoring actions are defined in https://github.com/apple/swift/blob/master/include/swift/IDE/RefactoringKinds.def
  • Ideas for potential refactoring transformations: https://bugs.swift.org/issues/?jql=labels%3DStarterProposal%20AND%20labels%3DRefactoring%20AND%20resolution%3DUnresolved

Leave a review on iTunes and join http://spectrum.chat/specfm/swift-unwrapped

Thanks to BuddyBuild for sponsoring this episode: https://www.buddybuild.com/?utm_source=podcast&utm_medium=banner&utm_campaign=swift_unwrapped&utm_term=swift%20unwrapped