Kotlin Multiplatform Tooling: Now in IntelliJ IDEA and Android Studio

We recently outlined our plans for the future of Kotlin Multiplatform tooling. Today, we’re putting those plans into action with the Beta release of the new KMP plugin for your favorite IDEs – IntelliJ IDEA and Android Studio. This plugin simplifies every part of the KMP experience, from project setup to cross-platform development and Compose […]

May 20, 2025 - 18:40
 0
Kotlin Multiplatform Tooling: Now in IntelliJ IDEA and Android Studio

We recently outlined our plans for the future of Kotlin Multiplatform tooling. Today, we’re putting those plans into action with the Beta release of the new KMP plugin for your favorite IDEs – IntelliJ IDEA and Android Studio. This plugin simplifies every part of the KMP experience, from project setup to cross-platform development and Compose UI previews.

Try the KMP Plugin

Integrated New Project wizard

With the plugin installed, you can create new KMP projects directly in the IDE.

The wizard supports all target combinations of Android, iOS, desktop, web, and server. You can also choose between a native UI or a shared UI with Compose Multiplatform.

Preflight checks

When you open a project, the plugin runs environment checks automatically. It verifies your OS, Java setup, Android SDK, Xcode installation, and Gradle configuration. If anything’s missing or outdated, you’ll get recommendations on how to fix it.

Ready to run

After indexing, the plugin automatically generates run configurations for all platforms available in your project – Android, iOS, web, desktop, and server. 

For iOS and Android, you can select simulators or emulators, or set up a physical device with the plugin’s guidance.

Cross-language support

For projects with both Kotlin and Swift, the plugin enables cross-language navigation, syntax highlighting, quick documentation, and debugging in your IDE.

Debugging support for iOS is already available in Android Studio and IntelliJ IDEA Ultimate, and support in IntelliJ IDEA Community Edition is coming later.

Compose Multiplatform support

Compose Multiplatform for iOS recently became Stable, allowing you to confidently build beautiful shared UIs for production use across iOS, Android, and desktop. 

Compose Multiplatform code is fully supported in the IDE, with features like autocompletion, navigation, refactorings, and resource support. Thanks to UI previews that are available even from common code, you can preview components directly in the IDE without deploying your app.

Compose Hot Reload

We know that fast iteration is key when building UIs. With Compose Hot Reload, you can instantly see UI changes without restarting your app or losing its state. 

Compose Hot Reload runs on the desktop JVM target, but even if your project is focused on mobile, you can add a desktop target just for development purposes.

As you modify your Compose code – adjusting layouts, styles, or logic – Hot Reload detects changes and applies them live to your running app. It’s not limited to small tweaks – you can change method signatures, remove existing code, and even create new classes. Your app retains its state, including the current screen and user input.

You can safely use Hot Reload for production apps, as it only affects development builds. To get started, add the Compose Hot Reload Gradle plugin to your project – see the documentation for setup details.

Try Compose Hot Reload

How to install the KMP plugin

The Kotlin Multiplatform plugin is available via JetBrains Marketplace for IntelliJ IDEA 2025.1.1.1 and Android Studio Narwhal 2025.1.1. It only supports macOS for now, but Windows and Linux support is coming soon. 

Note that you need to explicitly enable K2 mode. To do this, go to Settings | Languages & Frameworks | Kotlin and select the Enable K2 mode checkbox.

What’s next for Kotlin Multiplatform tooling

The KMP plugin is currently in Beta. It is ready for production use and already provides a solid foundation for Kotlin Multiplatform development.

We are actively working to expand its capabilities, polish the experience, and address known limitations. Your feedback is crucial to help us refine the tooling further. Our initial focus is on mobile development, with desktop and web improvements coming next.

We plan to stabilize the KMP plugin later this year, expand operating system support, and introduce new features based on your feedback.

Upcoming tooling improvements include:

  • Windows and Linux support
    You’ll be able to use the KMP plugin on Windows and Linux. Running iOS applications will remain macOS-specific.
  • Advanced IDE support for Swift
    The current plugin version already supports basic code completion and editing for Swift code. More advanced features, such as finding usages and type hierarchy navigation, are still planned.
  • Easier KMP module creation
    You’ll be able to create new Kotlin Multiplatform modules using the integrated KMP wizard.
  • Improved tooling support for web and desktop platforms
    After stabilizing mobile platform support, we will focus on improving tooling for desktop and web development, aiming for a smoother, unified multiplatform experience.

Share your feedback

We’d love to hear your feedback! Please share it in the #multiplatform channel on the Kotlinlang Slack (get an invite). If you encounter any issues, please report them through our issue tracker.

Try the KMP Plugin

Read more