New AppCode 2016.2 EAP brings Introduce Variable refactoring and argument placeholders for Swift!
New AppCode 2016.2 EAP is available for download with new great features on board! As usual, the patch update is also available if you are using previous 2016.2 EAP build.
This build brings one of the most important features from our roadmap – initial implementation of Introduce Variable refactoring for Swift. Let’s see how you can use it:
- Select the expression you want to extract and press
⌘⌥V. AppCode will suggest the name automatically – you can use it or write your own:
- By default AppCode will extract the constant using
let. Select Declare with ‘var’ option to convert it to the variable:
- You can also specify the type of extracted expression automatically using Specify type explicitly option:
- In case there are several possible expressions to extract, choose the one you need from the list:
- Choose if you want to replace all occurrences of the selected expression or only the single one:
Please, note, that some major issues related to this feature still exist (see subtasks in the base ticket). In case you find any other issue or have any suggestion, please log it as a bug-report or feature request in our tracker.
Completion for function parameter names with corresponding placeholders for arguments is one of the essential IDE features in iOS/OSX world. Starting with this build it is also available in AppCode for Swift language:
- Argument placeholders and parameter names are now inserted automatically for any function or method including initializers:
- You can navigate between parameters forward and back using
Some features related to argument placeholders such as completion for closures are in progress and we will try to deliver them before 2016.2 release.
That’s it! Download the build, try it right now and let us know what you think!
Your AppCode team
The Drive to Develop
Subscribe to Blog updates
Thanks, we've got you!
AppCode 2023.1 Bug-Fix Update
Hi, AppCode 2023.1 has just been released with fixes for Xcode 14.3 compatibility, Swift refactorings and intentions, the IDE’s UI, and Kotlin Multiplatform Mobile. On December 14, 2022, along with the AppCode 2022.3 release, we sunsetted the product and stopped sales. While we’ve refocused the te…
AppCode 2023.1 Release Candidate
Hi, On December 14, 2022, along with the AppCode 2022.3 release, we sunsetted the product and stopped sales. While we’ve re-focused the team's efforts in other directions, we’ve kept providing technical support to our current users and are releasing bug-fix updates in 2023, targeting mostly the Xco…
AppCode 2022.3 Release and End of Sales and Support
AppCode 2022.3 has just been released. With the release of v2022.3, we are sunsetting the product.
AppCode 2022.3 Release Candidate Is Here
Hi everyone, The release of AppCode 2022.3 is approaching, and the release candidate (build 223.7571.233) is now available for download on our website. You need to have an active subscription or activate a free trial to use this build. The main highlights of this build include: We fixed the r…