nikolaikopernik / code-complexity-plugin

Plugin for Intellij IDEA to calculate complexity for your code right into the editor. Works for Java and Kotlin
23 stars 5 forks source link

Support for IntelliJ IDEA K2 Mode #20

Open polisherm opened 2 weeks ago

polisherm commented 2 weeks ago

Suggestion

This plugin is fully compatible with the current mainstream K1 (legacy) mode, but does not seem to support K2 mode. Would you add support for K2 mode? JetBrains is planning to make K2 mode the default for the IDE.

What is K2 mode?

Please check following web page. https://blog.jetbrains.com/idea/2024/08/meet-the-renovated-kotlin-support-k2-mode/

How Migrating from K2?

Here is the migration guide. I hope it will be helpful. https://kotlin.github.io/analysis-api/migrating-from-k1.html

nikolaikopernik commented 2 weeks ago

Nice, thanks for submitting the request. I'll take a look