为 IntelliJ IDEA 或 Android Studio 安装 EAP 插件
Latest Kotlin EAP release: 1.8.0-RC2
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 channel.
Click Check again. The latest EAP build version appears.
- Click Install.
If you want to work on existing projects that were created before installing the EAP version, you need to configure your build for EAP.