New AppCode 2018.1 EAP: Quick support for Swift, code folding for control flow statements and more!
The new AppCode 2018.1 EAP (build 181.3494.17) is available for download on our site.
It was previously possible to run and debug Quick tests in the same way as with Xcode, with the same rendering for test names in the tests runner. Now the following improvements have been implemented for Quick tests in Swift:
- Tests are displayed hierarchically keeping their structure in the code:
- Navigation works properly and allows you to jump to a specific part of the Quick spec
Code folding for control flow statements
Control statements (
switch) can now be folded/expanded via
⌘+ shortcut in Objective-C/C++/Swift. It works for any block with more than one line of code or a block inside braces:
Folding icons on the left gutter are not displayed by default and only appear when a code block has already been folded. This behavior is still questionable, and if you need folding icons to be displayed by default for such code constructs, please leave a comment here.
- Adopted protocols and
whereclauses for Swift extensions are now shown in Structure view and Go to Class/Go to Symbol dialogs:
- The problem with a frequent StackOverflowException in mixed Objective-C/Swift projects, which caused freezes and issues with highlighting in the first EAP build, is now fixed.
- Find Usages and Rename refactoring now work faster (OC-15549)
The full release notes are available here.
Your AppCode team
The Drive to Develop