kotest / kotest-intellij-plugin

The official Kotest plugin for Intellij and Android Studio
Apache License 2.0
170 stars 18 forks source link

K2 compiler compatibility #289

Open zakhenry opened 3 months ago

zakhenry commented 3 months ago

Announced today - https://blog.jetbrains.com/idea/2024/03/k2-kotlin-mode-alpha-in-intellij-idea/ the K2 compiler is available in Intellij 2024.1 RC, but kotest plugin fails to install:

Plugin is incompatible with the Kotlin plugin in K2 mode

Screenshot 2024-03-26 at 7 53 15 PM
bukajsytlos commented 2 months ago

https://slack-chats.kotlinlang.org/t/16947255/what-is-required-of-plugin-authors-to-support-k2-mode-for-in#cdbf8020-797e-4e62-a1cc-660f8aa0d168

mrclrchtr commented 1 week ago

We would also like to switch to K2. Is there a goal to make the plugin compatible in the near future?

sksamuel commented 1 week ago

For the v6 release of kotest, kotlin 2.0 (and therefore k2) will be the default.

Kantis commented 3 days ago

Note that you can still use K2 for your project. You just can't use it for the IDE at the moment.

We're still waiting for information from JetBrains on how to enable our plugin with K2 IDE mode