Kotlin v2.0.21 Help

IDEs for Kotlin development

JetBrains provides the official Kotlin support for the following IDEs and code editors: IntelliJ IDEA, JetBrains Fleet, and Android Studio.

Other IDEs and code editors only have Kotlin community-supported plugins.

IntelliJ IDEA

IntelliJ IDEA is an IDE designed for JVM languages, such as Kotlin and Java, to maximize developer productivity. It does the routine and repetitive tasks for you by providing clever code completion, static code analysis, and refactorings. It lets you focus on the bright side of software development, making it not only productive but also an enjoyable experience.

The Kotlin plugin is bundled with each IntelliJ IDEA release. Each IDEA release introduces new features and upgrades that improve the experience for Kotlin developers in the IDE. See What's new in IntelliJ IDEA for the latest updates and improvements for Kotlin.

Read more about IntelliJ IDEA in the official documentation.

Fleet

JetBrains Fleet is a polyglot code editor that offers advanced support for Kotlin, providing a streamlined experience for Kotlin developers. You can use Fleet for quick, targeted edits, or enable Smart Mode to transform it into a powerful tool with code intelligence features.

Kotlin plugin is bundled with each Fleet release.

Fleet supports Kotlin Multiplatform projects targeting the Android, iOS, web, and desktop platforms, including testing and debugging your code. Smart Mode selects the appropriate code-processing engine and enables navigation between Kotlin Multiplatform code and code written in languages interoperable with Kotlin.

See the Use Fleet for Multiplatform development tutorial to get started.

Android Studio

Android Studio is the official IDE for Android app development, based on IntelliJ IDEA. On top of IntelliJ's powerful code editor and developer tools, Android Studio offers even more features that enhance your productivity when building Android apps.

Kotlin plugin is bundled with each Android Studio release.

Read more about Android Studio in the official documentation.

Eclipse

Eclipse allows developers to write their applications in different programming languages, including Kotlin. It also has the Kotlin plugin: originally developed by JetBrains, now the Kotlin plugin is supported by the Kotlin community contributors.

You can install the Kotlin plugin manually from the Marketplace.

The Kotlin team manages the development and contribution process to the Kotlin plugin for Eclipse. If you want to contribute to the plugin, send a pull request to its repository on GitHub.

Compatibility with the Kotlin language versions

For IntelliJ IDEA, Fleet, and Android Studio, the Kotlin plugin is bundled with each release. When the new Kotlin version is released, these tools will suggest updating Kotlin to the latest version automatically. See the latest supported language version in Kotlin releases.

Other IDEs support

JetBrains doesn't provide Kotlin plugins for other IDEs. However, some of the other IDEs and source editors, such as Eclipse, Visual Studio Code, and Atom, have their own Kotlin plugins supported by the Kotlin community.

You can use any text editor to write the Kotlin code, but without IDE-related features: code formatting, debugging tools, and so on. To use Kotlin in text editors, you can download the latest Kotlin command-line compiler (kotlin-compiler-2.0.21.zip) from Kotlin GitHub Releases and install it manually. Also, you could use package managers, such as Homebrew, SDKMAN!, and Snap package.

What's next?

Last modified: 26 十一月 2024