New AppCode 2017.2 EAP: Extract Method refactoring for Swift and support for Xcode 9 documentation format
New AppCode 2017.2 EAP (build 172.3317.17) is available for download on our site (if using previous 2017.2 EAP build, the patch update is also available).
Extract Method for Swift
This build brings one of the most important features from our roadmap, an initial implementation of Extract Method refactoring for Swift! Select the code you want to extract, press
⌥⌘M, and type the method name:
Click on the row with parameter name to change it or add an internal name:
Change the method/function visibility as you want:
Press enter and have your code replaced with the method or function call you have just created:
Note, that some issues still exist and we are working on them.
Besides, this build also brings support for Xcode 9 documentation format, fixes the issue when test output was empty when running UI tests with Xcode 9 set in AppCode preferences, and addresses some regressions found during our testing.
For the full list of fixes please see the release notes.
Your AppCode team
The Drive to Develop