https://kotlinlang.org logo
#eap
Title
a

Alina Dolgikh [JB]

07/29/2021, 1:00 PM
Hi! Just in case you missed it, the new EAP release is here. Don’t forget to share your feedback 🙂 https://blog.jetbrains.com/kotlin/2021/07/kotlin-1-5-30-m1-released/
t

turansky

07/29/2021, 2:02 PM
Previously I used EAP IDEA + EAP Kotlin EAP plugin for tests and feedback. IDEA 2021.2 (latest)
1.5.21
- not available
1.5.30-M1
- not available Will it work in future releases?
a

Alina Dolgikh [JB]

07/29/2021, 2:20 PM
That’s an interesting question. I don’t have an answer but let me reach out to my colleagues
e

Ekaterina Volodko [JB]

07/29/2021, 2:58 PM
Hi @turansky. Unfortunately, there are a few limitations with IDE and Kotlin version compatibility: • The EAP version of Kotlin works only with the stable version of the IDE. That means that you can’t install the Kotlin EAP version to the EAP IDEA release. • The Kotlin plugin is based on the previous stable version of the Kotlin compiler. You can still update the Kotlin version in your project, but some IDE-related features might not be available. We are working on stabilizing the process so that the next versions of the plugin will be based on the latest stable version of the compiler.
t

turansky

07/29/2021, 3:04 PM
Right now there is no any “compatibility” news - and it’s problem. IDEA 2021.2 has no Kotlin
1.5.21+
support right now. How can I simply check, that now IDEA 2021.2 can be used by my team (support
1.5.21
)?
s

stanislav.erokhin

07/29/2021, 3:52 PM
сс @mikhail.zarechenskiy @bobko
b

bobko

07/29/2021, 7:37 PM
What are "compatibility news"? Are you talking about compatibility checks of your custom IntelliJ plugin which depends on Kotlin plugin? Anyway, 1.5.30 for 212 platform is in progress https://youtrack.jetbrains.com/issue/KTIJ-19108
t

turansky

07/29/2021, 8:06 PM
Yes, I mean news like “Now IDEA 2021.2 support latest stable Kotlin (1.5.21 or 1.5.30)”
Release “lag” looks strange. For now I need to choose “latest Kotlin” or “latest IDEA”. @bobko will it be synchronized in future?
b

bobko

07/29/2021, 8:52 PM
We develop Kotlin plugin in 2 release cycles: IntelliJ IDEA release cycle and Kotlin compiler release cycle. Main release cycle for Kotlin plugin is IDEA release cycle. So with latest IDEAs you get latest Kotlin language support features in IDE. In Kotlin plugin we re-use Kotlin compiler frontend, and with every release of Kotlin compiler, we re-bundle Kotlin compiler frontend into Kotlin plugin. From user perspective this frontend re-bundling shouldn't look like much difference. We even thinking of removing compiler version from Kotlin plugin versioning scheme.
For now I need to choose “latest Kotlin” or “latest IDEA”.
So I suggest to use "latest IDEA". But you can also use "latest Kotlin compiler" at the same time - just write latest version in your
build.gradle[.kts]
file. IDEA with bundled Kotlin compiler of `N`th version can understand projects with Kotlin of
N+1
version
t

turansky

07/29/2021, 11:05 PM
Project - Kotlin
1.5.21
+ IDEA 2021.2 (Kotlin
1.5.10
) = No syntax highlight for Android (MPP) 😞
j

Jack W

08/01/2021, 4:36 PM
I might have missed it, but I would recommend making it clear in the documentation that the Kotlin EAP Plugin does not work with the IDEA IDE EAP. That is the opposite of what I assumed (and likely the same for others). In most ecosystems (like. NET), you need preview versions of IDE’s to work with preview versions of the language. I understand now that Jetbrains does things differently, but please make this more clear than digging into a Slack thread. Poor documentation is one of the things that is really holding Kotlin back (outside of Android), in my opinion.
t

turansky

08/02/2021, 1:09 AM
Don’t forget to share your feedback 🙂
@Alina Dolgikh [JB] Right now we have formula: +Kotlin feedback = -IDEA feedback Even for stable Kotlin
a

Alina Dolgikh [JB]

08/02/2021, 8:50 AM
Hi @turansky thanks for bringing this up. We will highlight it in our future communication
3 Views