-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
K2 compiler compatibility #289
Comments
We would also like to switch to K2. Is there a goal to make the plugin compatible in the near future? |
For the v6 release of kotest, kotlin 2.0 (and therefore k2) will be the default. |
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 |
Hey there, @Kantis is there any update/ETA on when the plugin issue will be fixed? |
IntelliJ 2024.2 landed today, with K2 mode in Beta. Lack of kotest plugin support is a blocker for enabling K2 in the IDE. |
It's in progress. I am waiting on a reply from Jetbrains what exactly needs to be done, as currently there are no docs in place on how to upgrade plugins that don't work. It just says "isn't compatible" :) |
Understood, thanks for the update. Sounds frustrating. |
I have never looked into IJ plugins, but do we have something like with K2 compiler plugins (in derivatives of
|
From what I've been able to discern any plugin that has a dependency on the IJ Kotlin plugin is automatically marked as incompatible, except those on a magic "safe list". atm no evident way to make/mark your plugin as compatible (this is what JB needs to provide - docs/guides on how to make it compatible, and a mechanism to allow compatible plugins that isn't a hard-coded safe list). reference: |
Feedback from JB:
|
@cloudshiftchris where did you find that info? I would like to check any following discussion etc. |
@Kantis It came from Slack discussion: https://kotlinlang.slack.com/archives/C0B8H786P/p1723426657187059 |
IntelliJ 2024.2.1 came out yesterday, so there's hope this plugin can be properly updated now. |
This comment was marked as outdated.
This comment was marked as outdated.
For reference, maybe it helps to see what the JTE plugin did in this regard. |
This comment was marked as abuse.
This comment was marked as abuse.
More references about what the Kobweb plugin did: |
Migration PR: #321 |
Thanks for the PR, @akozlova I've tested the PR on my local machine in two scenarios on the same project (Java 17, mvn 3.9.6, spring boot 3.2.5, kotest 5.9.1, arrow 1.2.4, coroutines 1.9.0):
and found no evident or show-stopper issues. |
Hello @sksamuel! So what is the status of this? Intellij 2024.3 releases with stable K2 mode. |
Kotest plugin 1.3.86-243-EAP-SNAPSHOT was released already, which supports Intellij 2024.3 in K2 mode. |
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
The text was updated successfully, but these errors were encountered: