AppCode News

AppCode Starts 2020.3 EAP: Swift Support Improvements, New Intentions and Inspections, and More

Hi everyone,

Today we are starting the Early Access Program for AppCode 2020.3, and the first build is already available to download from our site.

Splash

Download AppCode 2020.3 EAP

Language Support

This EAP brings support for the following Swift changes:

  • SE-0279, SE-0286: Multiple trailing closure syntax.
  • Allow synthesis of Equatable and Hashable in conditional conformances (see the SE-0185 amendment).
  • SE-0276: Multi-pattern catch clauses.
  • SE-0269: Increased availability of implicit self in @escaping closures when reference cycles are unlikely to occur.
  • SE-0044: Import as member improved as described in OC-20445.

Change Signature

The following improvements have been implemented for the Change Signature refactoring:

  • It now allows changing the function/method throw type right in the Change Signature dialog:
    Change Signature
  • Default argument values are now preserved when executing the refactoring. (OC-20347)
  • Variadic parameters are now correctly updated. (OC-20365)
  • The Refactoring preview shows the correct preview for init methods. (OC-20392)

Intentions and inspections

You can now remove redundant self qualifiers with a new Swift inspection:

Remove redundant self

Find unnecessary argument lists for closures and remove them in seconds:

Remove unnecessary arguments

Easily convert trailing closures to closure arguments and vice versa with a new intention:

Convert to closure argument

Press ⌥Space to see the quick-fix preview:

Quick-fix preview

UX improvements

Thanks to IntelliJ Platform team, we have a lot of UX improvements in this very first 2020.3 EAP, including a completely redesigned Welcome screen, which provides a more convenient way to search through recently opened projects and edit the configuration of your IDE, an improved UI for the Rename refactoring, per-project settings for plugins, and more. Learn more about them in a dedicated blog post on IntelliJ IDEA blog.

Bug fixes

This build fixes the following issues:

  • Errors when parsing Swift keypath expressions (OC-20594).
  • Parsing errors were being displayed for conditional compilation blocks surrounding case clauses (OC-20512).
  • Only methods from parent extensions were available for overriding in a class extension (OC-20277).

That’s it for today. The full release notes are available here.

Download AppCode 2020.3 EAP

Your AppCode team
JetBrains
The Drive to Develop