Install the EAP Plugin for IntelliJ IDEA or Android Studio
You can follow these instructions to install the preview version of the Kotlin Plugin for IntelliJ IDEA or Android Studio.
Select Tools | Kotlin | Configure Kotlin Plugin Updates.
In the Update channel list, select the Early Access Preview X channel, where X is the latest version of Kotlin.
Click Check again. The latest EAP build version appears.
If you want to work on existing projects that were created before installing the EAP version, you need to configure your build for EAP.