AppCode Starts 2020.1 EAP: Type Hierarchy in Swift, Documentation Comments Generation, New Code Assistance Actions, and More!

Posted on by Stanislav Dombrovsky

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

AppCode 2020.1 EAP splash

Type Hierarchy

Type Hierarchy (⌃H) now works for Swift in the same way that it does for Objective-C:

Swift Type Hierarchy
Your feedback on the feature is very welcome (note that there are several known issues filled as OC-11220 subtasks).

Code Assistance

This EAP brings new code assistance actions for Swift:

  • Replace if with guard intention:
    Replace if with guard
  • Unnecessary parentheses inspection:
    Remove parentheses
  • Unnecessary tuple wrap inspection:
    Replace tuple

Documentation Comments

You may have noticed this feature in AppCode 2019.3, though at the time it wasn’t ready for the public announcement. We’ve finished it’s implementation for the 2020.1 EAP, and you can now generate markdown documentation in Swift simply by writing /// and pressing :

Comments generation

In addition, AppCode now correctly displays markdown documentation in the Quick Documentation (F1) popup:

Quick Documentation

JetBrains Mono

JetBrains Mono is a free and open-source font created by our company – and now it’s also the default font for all JetBrains IDEs!

That’s it for now. If you want to find out more, the full release notes are available here.

Download AppCode 2020.1 EAP

Your AppCode team
JetBrains
The Drive to Develop

Comments below can no longer be edited.

7 Responses to AppCode Starts 2020.1 EAP: Type Hierarchy in Swift, Documentation Comments Generation, New Code Assistance Actions, and More!

  1. Alex says:

    January 31, 2020

    Looking good, but getting an error on download – 404 “message”: “Distribution windows does not exist”

    • Stanislav Dombrovsky says:

      January 31, 2020

      Hi, are you getting this error from the IDE, from ToolBox or when you’re trying to download AppCode directly from the website? Are you downloading AppCode from macOS (just to be sure, because looks like the Windows distribution that does not exist for AppCode is requested)?

      • Alex says:

        January 31, 2020

        Hi, tried from the link above, and yeah from macOS, Chrome and Safari. Is it working for you?

        • Stanislav Dombrovsky says:

          January 31, 2020

          Yes, works on our side without problems in Safari and Chrome.

  2. Jindrich Sarson says:

    February 21, 2020

    Finally, after few years, it seems I can again use App Code. It was great in Objective-C times and it looks like that after years, it will be usable for our Swift / Mixed project.

    First time ever syntax highlighting and code competition works, great! Indexing takes 20 minutes first, but then it quick.

  3. Juan Francisco says:

    March 2, 2020

    It’s a pity to hear that this features were not on the roadmap:

    https://youtrack.jetbrains.com/issue/OC-18314
    https://youtrack.jetbrains.com/issue/OC-18544

    Because it’s a pain in the ass to work with assets inside AppCode, that’s the reason I’m still using Xcode instead of AppCode.

    Support for SwiftUI preview, Swift Package Manager or frameworks like Vapor would be a great advance too.

    • Stanislav Dombrovsky says:

      March 2, 2020

      It’s a pity to hear that this features were not on the roadmap:
      https://youtrack.jetbrains.com/issue/OC-18314
      https://youtrack.jetbrains.com/issue/OC-18544

      I agree that at some step this part must be implemented, but for now we need to dedicate all our resources to performance.

      Support for SwiftUI preview

      It’s a very big task, that is really hard to implement. We understand it’s priority, but for now it requires quite a lot of time just to understand, how it works (no documentation from Apple). For the moment you can use Injection III as described here as a workaround.

      Swift Package Manager or frameworks like Vapor would be a great advance too.

      Vapor and any ther SPM frameworks are fully supported when they are added as subproject to Xcode project (via Xcode project generated by swift package generate-xcodeproj or vapor xcode. In the Swift plugin for CLion all of these frameworks are supported natively, as CLion loads SPM project structure. In AppCode, we are already working on SPM support in Xcode projects (that is different from just loading SPM from Package.swift that means we cannot reuse integration in CLion directly).

Subscribe

Subscribe to product updates