The AppCode Blog : Smart IDE for iOS & macOS Development | The JetBrains Blog https://blog.jetbrains.com Developer Tools for Professionals and Teams Thu, 06 Apr 2023 13:52:19 +0000 en-US hourly 1 https://blog.jetbrains.com/wp-content/uploads/2023/02/cropped-icon-512-32x32.png The AppCode Blog : Smart IDE for iOS & macOS Development | The JetBrains Blog https://blog.jetbrains.com 32 32 AppCode 2023.1 Bug-Fix Update https://blog.jetbrains.com/appcode/2023/04/appcode-2023-1-bug-fix-update/ Thu, 06 Apr 2023 13:49:09 +0000 https://blog.jetbrains.com/wp-content/uploads/2023/04/Release_Preview_image_1280x600_AppCode-2x.png https://blog.jetbrains.com/?post_type=appcode&p=340973 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 team’s efforts in other directions, we’ve kept providing technical support to our current users and are releasing bug-fix updates in 2023, mainly targeting the Xcode compatibility issues. AppCode 2023.1 is released as a part of this effort.

If your subscription (to AppCode or All Products Pack) was active on December 14, 2022, then your perpetual fallback is now automatically updated to 2023.1.

AppCode 2023.1 release

As the main highlights of this update were already described in the blog post about the release candidate, let us briefly reiterate the most important changes.

Xcode 14.3 compatible

AppCode 2023.1 is compatible with Xcode 14.3 as the known issues were addressed (OC-23492, OC-23494).

Swift support

AppCode now takes into account SWIFT_STRICT_CONCURRENCY build setting and shows compiler warnings as problems:
Compiler warnings

In your Swift code, you can now press ⌥Enter on a method, and AppCode will offer to create an extension and move the current method to it:
Intentions
We also fixed the problems when extracting code with escape symbols (OC-23228) and typealias used as references (OC-23230).

Documentation

We added the new action Build | Build/Preview Documentation which compiles each Swift target into a DocC documentation archive:

Documentation generation

Performance

Performance of the first project indexation was improved thanks to speed-up for Building module maps and Building bridging symbols processing.

IntelliJ-platform changes

This version is being released from the 2023.1 IntelliJ-platform branch, which means it comes with all of the platform-wide changes and improvements, like VCS enhancements, web development features, as well as UI fixes and improvements. Find some notable examples below.

It’s now possible to zoom into and out of AppCode entirely, increasing or decreasing the size of all UI elements simultaneously. Zoom the IDE in/out from the View | Appearance menu:
Zoom in and out

With AppCode 2023.1, you can save and manage several tool window layouts and switch between them when needed. With the new Window | Layouts menu, you can save the current layout as a new one, update the already saved layout, or activate a previously saved layout:

Layout

AppCode 2023.1 features a new Selection checkbox in Settings/Preferences | Editor | General | Appearance | Show Whitespaces that allows you to configure this setting so that the IDE shows whitespaces only when you select code:
Whitespaces on selection

Full release notes are available here.

Download AppCode

Your AppCode team
JetBrains
The Drive to Develop

]]>
AppCode 2023.1 Release Candidate https://blog.jetbrains.com/appcode/2023/03/appcode-2023-1-release-candidate/ Fri, 31 Mar 2023 22:48:14 +0000 https://blog.jetbrains.com/wp-content/uploads/2023/03/Blog_Featured_image_1280x600_AppCode-2x.png https://blog.jetbrains.com/?post_type=appcode&p=339456 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 Xcode compatibility issues. As part of this effort, AppCode 2023.1 will be released in a few weeks.

The release candidate of AppCode 2023.1 (build 231.8109.204) is now available for download. You can get it from our website or via the Toolbox App.

AppCode 2023.1 RC

The highlights include:

  • Fixes for Kotlin Multiplatform Mobile:
    • Gradle templates now run correctly on physical devices on M1 (KMA-613).
    • Breakpoints in shared code now work correctly for iOS app debugging for the KMM Gradle project with Gradle 8 (KMA-633).
    • Debugging on a real device now works and hits the breakpoints in shared code.
    • We fixed the compatibility issue with Xcode 14.3 that prevented the iOS app of the KMM Gradle project from being built or run.
  • This build includes several Xcode 14.3 compatibility fixes (OC-23492, OC-23494).
  • Swift refactorings and intentions:
    • You can now press ⌥Enter on a method and AppCode will offer to create an extension and move the current method to it.
    • We fixed the problems extracting code with escape symbols (OC-23228) and typealias used as references (OC-23230).
  • Documentation:
    • We added a new action (Build | Build/Preview Documentation) which compiles each Swift target into a DocC documentation archive:documentation
    • We improved the reader mode for different documentation comment formats (OC-23351).
  • Completion for attributes now filters the result by applicability to the current context (OC-17252).
  • We fixed an issue with navigating between parameters with Tab (OC-21888).
  • We fixed the resolution for generics from an outer class inside extensions (OC-23247).
  • AppCode now uses the information from a regular expression to correctly infer its type (OC-23075).
  • Running with code coverage for SPM no longer fails.
  • AppCode now shows compiler warnings as problems.

This version is being released from the 2023.1 IntelliJ-platform branch, which means it comes with all of the platform-wide changes and improvements, like VCS enhancements, web development features, and UI fixes and improvements. Some notable changes are:

  • It’s now possible to zoom into and out of AppCode entirely, increasing or decreasing the size of all UI elements simultaneously. Zoom the IDE in/out from the View | Appearance menu.
  • We’ve introduced a new layout option that allows you to unify the width of the side tool windows or retain the ability to freely adjust their sizes as you customize your layout. The new Remember size for each tool window checkbox is available in Settings/Preferences | Appearance | Appearance & Behavior | Tool Windows.
  • We introduced a new option to save multiple tool window layouts.
  • We’ve added VCS status color hints in the Structure tool window. Read about this and other VCS changes here.

The full release notes are available here.

DOWNLOAD APPCODE RC

Your AppCode team
JetBrains
The Drive to Develop

]]>
AppCode 2022.3 Release and End of Sales and Support https://blog.jetbrains.com/appcode/2022/12/appcode-2022-3-release-and-end-of-sales-and-support/ Wed, 14 Dec 2022 17:49:31 +0000 https://blog.jetbrains.com/wp-content/uploads/2022/12/Release_Preview_image_1280x600_AppCode-2x.png https://blog.jetbrains.com/?post_type=appcode&p=305731 Hi,

AppCode 2022.3 has just been released! It comes compatible with macOS 13 and Xcode 14.2, brings more refactoring capabilities for Swift, enables language injections, and offers a new approach to settings synchronization.

With the release of v2022.3, we are sunsetting the product. As of December 14, 2022, we will no longer sell new subscriptions or renew existing ones for AppCode. All active subscriptions will get a fallback license to v2022.3.

AppCode 2022.3

Sunsetting AppCode

Since the release of AppCode 1.0 11 years ago, we’ve been applying our expertise to make coding for iOS/macOS more enjoyable. We’ve had many accomplishments, including first-class C++ support (from which CLion, our cross-platform C/C++ IDE, was born), an extremely fast release of initial support for the new Swift language, and finally, Kotlin Multiplatform Mobile technology, which combines our passion for Kotlin with our knowledge of mobile technologies.

While we’ve had some growth in terms of adoption, we didn’t reach the market share we had hoped for. We believe that the time has come to sunset the product and focus our efforts in other directions.

Until December 31, 2023, we will continue to provide technical support and release updates that specifically address compatibility issues with Xcode 14, as well as critical security updates as necessary. The scope of the updates will be limited to these two areas.

Please note that Kotlin Multiplatform Mobile is independent from the sunsetting of AppCode, and further investment in that tooling continues. For more information and updates, check out the Kotlin blog.

Extending the fallback

Normally when a fallback license is granted, the user receives a license for the version of the product that the user started their subscription with. But as a token of appreciation, we are doing things differently this time. Those who receive fallback licenses will get a license for the version that is available when their subscriptions end.

Last but not least, we would like to thank you for your support and for helping AppCode evolve over the years!

AppCode 2022.3 update

Compatibility

In this release, we’ve fixed an exception that happened on project opening, disabled the macOS compatibility warning, and fixed an issue with building to a device in the Reveal integration on macOS 13. With these updates, AppCode 2022.3 now comes compatible with macOS 13 and Xcode 14.2.

Better Swift refactoring capabilities

We have been keen to make Swift refactoring better. In this version we extended the list of abilities and improved existing ones:

  • A new Inline function (⌥⌘N) refactoring was added. The user can specify whether all or only the selected invocation should be substituted, as well as whether the inlined function should be removed:
    Inline Function in Swift
    When inlining, the IDE checks the accessibility of symbols used in the inlined function, properly processes inout function arguments, accurately inlines implicit calls to static methods, and more.
  • When creating a property from a usage or extracting one, AppCode now offers you a choice between var and let property declarations.
  • Extracting a method from a static subscript now generates a static method. It now also takes into account the variable’s lifetime and scope and no longer misses the mutating modifier.
  • Extracting a protocol conformance to extension no longer loses the documentation comments.

Enhanced completion for initializers and deinitializers

Code completion in Swift received several improvements:

  • Smart completion now ignores @autoclosure for assignability when building a list of options.
  • When completing init and deinit keywords, redundant spaces are removed and the required braces and parentheses are added after the keywords.
  • AppCode 2022.3 also enables the complete statement action for initializers and deinitializers.

Complete statement

Intention previews

If you feel unsure about a quick-fix or are just wondering what exactly is going to change, open the Quick Documentation (F1) popup for a selected quick-fix in the ⌥Enter menu. This will activate the intention preview so you can see how the code is going to be updated with the fix applied.
Intention preview

Injected languages

For string literals in Swift that contain SQL strings, HTML code, regular expressions, or other examples from other languages, you can inject these languages into the string via the ⌥Enter menu. Doing so will provide accurate code highlighting based on the language chosen, language-specific intentions, and a dedicated editor section for editing the specific code fragment.
Language injections

Updates to UML diagrams

AppCode 2022.3 enhances UML diagrams for Swift and Objective-C classes:

  • You can drag items from files in the Project View to the diagram.
  • You can filter nodes on the diagram by scope, like all changed files, open files, or project source files.

New solution for settings synchronization

A new solution is available for synchronizing settings between different product installations or even between various IntelliJ-based IDEs. It stores settings in the cloud attached to the user’s JetBrains Account and is capable of syncing all shareable settings from the platform, bundled plugins, and third-party plugins. Learn more and enable it in Preferences | Settings Sync | Enable Settings Sync.

Download AppCode

Your AppCode team
JetBrains
The Drive to Develop

]]>
https://blog.jetbrains.com/zh-hans/appcode/2022/12/appcode-2022-3-release-and-end-of-sales-and-support/ https://blog.jetbrains.com/pt-br/appcode/2022/12/appcode-2022-3-release-and-end-of-sales-and-support/ https://blog.jetbrains.com/ko/appcode/2022/12/appcode-2022-3-release-and-end-of-sales-and-support/ https://blog.jetbrains.com/ja/appcode/2022/12/appcode-2022-3-release-and-end-of-sales-and-support/ https://blog.jetbrains.com/fr/appcode/2022/12/appcode-2022-3-release-and-end-of-sales-and-support/ https://blog.jetbrains.com/es/appcode/2022/12/appcode-2022-3-release-and-end-of-sales-and-support/ https://blog.jetbrains.com/de/appcode/2022/12/appcode-2022-3-release-and-end-of-sales-and-support/
AppCode 2022.3 Release Candidate Is Here https://blog.jetbrains.com/appcode/2022/12/appcode-2022-3-release-candidate-is-here/ Fri, 09 Dec 2022 15:58:51 +0000 https://blog.jetbrains.com/wp-content/uploads/2022/12/Blog_Featured_image_1280x600_AppCode-2x.png https://blog.jetbrains.com/?post_type=appcode&p=306460 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.

AppCode 2022.3 RC

The main highlights of this build include:

  • We fixed the regression issue affecting the performance of Swift code completion (OC-23363).
  • The Kotlin Multiplatform Mobile plugin for AppCode got the following fixes:
    • iOS application builds no longer fail for hybrid projects from the Gradle template on M1 (KMA-389).
    • The Quick Documentation popup for Kotlin symbols in Swift files shows the documentation from the original Kotlin elements (KMA-555).

The full release notes are available here.

DOWNLOAD APPCODE RC

Your AppCode team
JetBrains
The Drive to Develop

]]>
AppCode 2022.3 EAP: Fixes for Swift Completion and SPM, a New UI https://blog.jetbrains.com/appcode/2022/11/appcode-2022-3-eap-fixes-for-swift-completion-and-spm-a-new-ui/ Thu, 24 Nov 2022 15:32:57 +0000 https://blog.jetbrains.com/wp-content/uploads/2022/09/Blog_Featured_image_1280x600_AppCode-2x.png https://blog.jetbrains.com/?post_type=appcode&p=300088 Hi everyone,

A new AppCode 2022.3 EAP build (223.7571.113) is available for download from our website or via the Toolbox App. You can also update from the previous 2022.3 EAP build via a patch.

DOWNLOAD APPCODE EAP

Here are the highlights:

  • Swift code completion:
    • We improved init and deinit keyword completion by removing redundant spaces and adding required braces and parentheses after the keyword (OC-11400, OC-23284).
    • We improved the complete statement action for initializers and deinitializers (OC-23283).
    • The complete statement action no longer inserts braces for protocol func/init (OC-23293).

    Complete Statement

  • For SPM projects, we fixed several issues with launching tests and executables (OC-23231, OC-23215, OC-22522).
  • We added line breaks to the reader mode documentation comments to improve readability (OC-23323).
  • We fixed an issue with building to device in the Reveal integration on macOS 13 (OC-23319).

New AppCode UI available via a setting

Earlier this year, we started a preview of the new UI for our IntelliJ-based IDEs. The main goals of the UI change were to reduce visual complexity, provide easy access to essential features, and progressively disclose complex functionality as needed. The key changes in the new UI are:

  • Simplified main toolbar
  • New tool windows layout.
  • New Light and Dark color themes.
  • Updated icon set.

This resulted in a look and feel that we believe is clean, modern, and powerful. Given the millions of current users of our IntelliJ-based IDEs, we want the rollout process for the new UI to be gradual and feedback-driven.

The new UI is now available in AppCode:
New UI

We invite you to switch to it in Preferences | Appearance & Behavior | New UI. Give it a test drive and share your thoughts about this huge change with us.

You should also feel free to check out the recording of the webinar about the new UI recently held by our IntelliJ Platform team – New UI: A Glimpse at the Future.

DOWNLOAD APPCODE EAP

The full release notes are available here.

The AppCode team
JetBrains
The Drive to Develop

]]>
AppCode 2022.3 EAP: Enhanced Inline and Extract Refactorings https://blog.jetbrains.com/appcode/2022/11/appcode-2022-3-eap-enhanced-inline-and-extract-refactorings/ Thu, 17 Nov 2022 15:54:30 +0000 https://blog.jetbrains.com/wp-content/uploads/2022/09/Blog_Featured_image_1280x600_AppCode-2x.png https://blog.jetbrains.com/?post_type=appcode&p=298618 Hi everyone,

A new AppCode 2022.3 EAP build (223.7571.46) is available for download from our website or via the Toolbox App. You can also update from the previous 2022.3 EAP build via a patch.

DOWNLOAD APPCODE EAP

Swift Inline refactoring

A recently added Swift Inline refactoring got some improvements in this build:

  • AppCode now warns users when conflicts are detected during the refactoring. Users can choose to continue or cancel the refactoring:
    Warning while refactoring
  • When refactoring functions with an effective single exit point, AppCode no longer creates a scope to jump to but uses a single variable to return the result of the function (OC-23171).
  • When inlining, AppCode provides an extra scope with the do {} block when necessary to keep the code correct (OC-23193).
  • AppCode now replaces all self expressions with the caller of the function when inlining (OC-23162).

Swift Extract Method refactoring

Another refactoring that received our attention is Extract Method. The following fixes were implemented:

  • Extract Method no longer misses the mutating modifier (OC-20585).
  • Extract Method takes into account the variable lifetime and scope (OC-22858).
  • The refactoring no longer fails in cases where the code you selected to extract starts from a conditional expression (OC-22707).

New code analysis checks

New checks warn you about a redundant nullable type (OC-23216) and a redundant closure (OC-23206):
Redundant null

Kotlin Multiplatform Mobile plugin updates

  • Xcodeprojs is now only linked when no Apple Gradle DSL is present (KMA-547).
  • The plugin now supports moving/copying files into and out of Xcode projects (KMA-456).
  • The cross-language class rename now works as expected (KMA-541).
  • We improved the debugger for the hybrid model (KMA-405).

The full release notes are available here.

Your AppCode team
JetBrains
The Drive to Develop

]]>
AppCode 2022.3 EAP: Xcode Compatibility and Other Fixes https://blog.jetbrains.com/appcode/2022/11/appcode-2022-3-eap-xcode-compatibility-and-other-fixes/ Thu, 03 Nov 2022 19:38:52 +0000 https://blog.jetbrains.com/wp-content/uploads/2022/09/Blog_Featured_image_1280x600_AppCode-2x.png https://blog.jetbrains.com/?post_type=appcode&p=294655 Hi everyone,

A new AppCode 2022.3 EAP build (223.7401.11) is available for download from our website or via the Toolbox App. You can also update from the second 2022.3 EAP build via a patch.

DOWNLOAD APPCODE EAP

Here’s what’s inside this build:

  • We disabled the compatibility warning for macOS 13.
  • We fixed an IDE freeze that happened during the project opening.
  • We fixed several issues that occurred while collecting compiler information (OC-22680).

The full release notes are available here.

Your AppCode team
JetBrains
The Drive to Develop

]]>
AppCode Bug-Fix Update 2022.2.4 https://blog.jetbrains.com/appcode/2022/10/appcode-bug-fix-update-2022-2-4/ Wed, 26 Oct 2022 17:41:23 +0000 https://blog.jetbrains.com/wp-content/uploads/2022/10/ac-bug-fix-blog-featured-image-1280x600-1-1.png https://blog.jetbrains.com/?post_type=appcode&p=291719 The AppCode 2022.2.4 bug-fix update is now available!

Build 222.4345.34 is available from our website, from the Toolbox App, or via an update patch from the IDE itself.

This build improves AppCode’s compatibility with Xcode 14.1 RC by fixing an exception that was happening on project opening (OC-23248).

DOWNLOAD APPCODE

If you are interested in what’s coming next, give the free AppCode 2022.3 EAP a try. Check out this page for a list of the latest improvements.

Your AppCode team
JetBrains
The Drive to Develop

]]>
AppCode 2022.3 EAP: Compatibility With Xcode 14.1 RC and Enhanced Inline Refactoring https://blog.jetbrains.com/appcode/2022/10/appcode-2022-3-eap-compatibility-with-xcode-14-1-rc-and-enhanced-inline-refactoring/ Fri, 21 Oct 2022 11:09:03 +0000 https://blog.jetbrains.com/wp-content/uploads/2022/09/Blog_Featured_image_1280x600_AppCode-2x.png https://blog.jetbrains.com/?post_type=appcode&p=289109 Hi everyone,

A new AppCode 2022.3 EAP build (223.7126.4) is available for download from our website or via the Toolbox App. You can also update from the second 2022.3 EAP build via patch.

DOWNLOAD APPCODE EAP

This EAP build improves AppCode’s compatibility with Xcode 14.1 RC by fixing an exception that happens on project opening (OC-23248).

As we announced previously, you can now inline a Swift function and have the IDE substitute all its usages across the codebase. We are continuing to improve this feature, and we’ve implemented the following enhancements:

  • For functions with an effective single exit point, the generated code is simplified by using a single variable for the result (OC-23103).
  • A function’s constant arguments are inlined in the place of their usage when possible (OC-23114).
  • When inlining, the IDE properly processes inout function arguments (OC-23115).
  • AppCode now provides more advanced support for try/throws when inlining (OC-23126).
  • AppCode now inlines implicit calls to static methods more accurately (OC-23133).
  • When inlining, the IDE now checks the accessibility of symbols used in the inlined function (OC-23154).

The full release notes are available here.

DOWNLOAD APPCODE EAP

Your AppCode team
JetBrains
The Drive to Develop

]]>
AppCode 2022.3 EAP: New Settings Sync Solution https://blog.jetbrains.com/appcode/2022/10/appcode-2022-3-eap-new-settings-sync-solution/ Sat, 15 Oct 2022 00:40:50 +0000 https://blog.jetbrains.com/wp-content/uploads/2022/09/Blog_Featured_image_1280x600_AppCode-2x.png https://blog.jetbrains.com/?post_type=appcode&p=287314 Hi everyone,

A new AppCode 2022.3 EAP build (223.6646.113) is available for download. Builds are available from our website and via the Toolbox App. You can also update from the 2022.3 EAP1 build via patch.

DOWNLOAD APPCODE EAP

New solution for synchronizing settings

Synchronizing settings is essential when you use AppCode or other IntelliJ-based IDEs on multiple computers or when you want to have a backup of your settings restored automatically. For quite a while, there were two plugins to help with this – IDE Settings Sync and Settings Repository. Today, we are merging them into a single solution – the new Settings Sync plugin. Learn more about it in this blog post.

Here’s how to enable the new solution depending on which approach for settings synchronization you’ve been using:

  • If you have been using IDE Settings Sync, your data will be automatically migrated to the new plugin, so you won’t need to take any action.
  • If you are a Settings Repository user, we advise you to continue using your current setup, as the migration is still a work in progress. You’ll get an in-IDE notification once the functionality is ready.
  • If you weren’t previously using a settings synchronization solution but you want to try the new one, you can enable it via Settings / Preferences | Settings Sync | Enable Settings Sync.

Settings Sync

The full release notes are available here.

DOWNLOAD APPCODE EAP

Your AppCode team
JetBrains
The Drive to Develop

]]>
AppCode Bug-Fix Update 2022.2.3 https://blog.jetbrains.com/appcode/2022/10/appcode-bug-fix-update-2022-2-3/ Tue, 11 Oct 2022 16:08:23 +0000 https://blog.jetbrains.com/wp-content/uploads/2022/10/ac-bug-fix-blog-featured-image-1280x600-1.png https://blog.jetbrains.com/?post_type=appcode&p=285840 The AppCode 2022.2.3 bug-fix update is now available!

Build 222.4345.23 is available from our website, from the Toolbox App, or via an update patch from the IDE itself.

DOWNLOAD APPCODE

Here are the main highlights:

  • Improved compatibility with Xcode 14.1 beta.
  • The Create branch input field in the Open task window now has the correct size (IDEA-252365).
  • Performance has now been improved when working with language injections (IDEA-292182).

The full release notes are available here.

Your AppCode team
JetBrains
The Drive to Develop

]]>
AppCode Starts the 2022.3 EAP https://blog.jetbrains.com/appcode/2022/10/appcode-starts-the-2022-3-eap/ Fri, 07 Oct 2022 11:16:01 +0000 https://blog.jetbrains.com/wp-content/uploads/2022/09/Blog_Featured_image_1280x600_AppCode-2x.png https://blog.jetbrains.com/?post_type=appcode&p=283624 Hi everyone,

Today we are starting the Early Access Program for AppCode 2022.3, and the first build (223.6160.86) is already available for download.

Give the free EAP builds a try and let us know what you think about the changes! Share your feedback in the comments or submit it to our issue tracker.

AppCode starts the 2022.3 EAP

DOWNLOAD APPCODE EAP

Here are the main highlights:

UML diagrams enhancements

UML diagrams for Swift and Objective-C classes were introduced in AppCode 2022.2. In this EAP they get a few fixes and improvements. You can now drag items from files in the Project View to the diagram:
Drag and drop on UML

You can also now filter nodes on the diagram by scope (project files, opened files, and so on):
Filter diagram by scope

Inject SQL, HTML, RegExp, and other languages into strings

When coding in Swift, there can sometimes be pieces of code inside string literals, such as SQL strings, HTML code, or regular expressions. Wouldn’t it be nice if an IDE could treat them as code, and not as text? We thought it would, so we’ve made it possible in AppCode!

Language injections let you work with pieces of code inside string literals (for example, with SQL queries or regular expressions), as well as tags or attributes in XML-like languages. To enable it, set the caret on a string, press Alt+Enter, and select the language you want to inject there.

AppCode provides accurate code highlighting based on the language chosen. It also has language-specific intentions and actions, and you can edit a code fragment in the dedicated editor section. For example, for regular expressions you can check whether a string matches the RegExp right in the IDE:
Language injections

Build destinations for Swift packages

For Swift packages, AppCode can now build for macOS and other build destinations like the iPhone, simulators, and more:
Build destinations

Quick-fixes and intention previews

A platform-wide preview for quick-fixes and intentions is now enabled in AppCode. If you call the Quick Documentation (F1) for a selected quick-fix in the Alt+Enter menu, you’ll see how the code is going to be updated with the fix applied:
Intentions preview
Once activated, the preview will appear every time you open the list of available intention actions. To close the preview, press F1 again while the list of intentions is open.

Swift language improvements

With AppCode 2022.3 EAP, you can now easily inline the Swift function and substitute all its usages across the codebase. Use the Inline function refactoring via ⌥⌘N. AppCode will suggest you inlinining all invocations and removing the original function or inlining only the selected invocation and keeping the original function:
Inline function refactoring in Swift

When creating from usage or extracting a property, AppCode now suggest you a choice between var and let property declarations:
Let or var selection

Other improvements:

  • AppCode now supports a shorthand syntax for optional binding.
  • Extracting from static subscript now generates a static method (OC-23073).
  • Smart completion now ignores @autoclosure for assignability (OC-22948).
  • Using Copy Reference on a Swift symbol no longer creates Objective-C code (OC-15741).
  • The Unwrap Optional quick-fix now uses the shorthand syntax for optional binding from Swift 5.7 where possible.
  • Generate init has been fixed to avoid the redundant required keyword for protocol init in struct.
  • Generate equals actions that use a single expression template no longer produce an incomplete return statement (OC-18774).
  • Extracting protocol conformance to extension no longer loses the documentation comments (OC-22923).

The full release notes are available here.

Those who previously used the Kotlin Multiplatform Mobile (KMM) plugin for AppCode may need to manually install the JetBrains Toml plugin from JetBrains Marketplace and ensure they have updated the Kotlin plugin to its latest version.

DOWNLOAD APPCODE EAP

Your AppCode team
JetBrains
The Drive to Develop

]]>