In this section:
Prerequisite
Before you start working with Kotlin, make sure that Kotlin plugin is enabled. The plugin is bundled with IntelliJ IDEA and activated by default. If it is not, enable the plugin as described in the section Enabling and Disabling Plugins.
Kotlin support in IntelliJ IDEA
Kotlin support in IntelliJ IDEA includes:
- Dedicated file type, denoted with
icon. - File and Code Templates for creating Kotlin symbols, which allows
producing the Kotlin classes
, interfaces
, enums
and objects
. - Two project types: Kotlin-JVM and Kotlin-JavaScript. To learn how to create these projects, refer to the sections Creating Kotlin-JVM Project and Creating Kotlin-JavaScript Project.
- Dedicated Kotlin and Kotlin-JavaScript run/debug configurations.
