Skip to content

Commit 188602f

Browse files
committed
Declaring-K2-Compatibility.md: clarification
Clarify why it is recommended to declare `supportsKotlinPluginMode` even if a plugin is in the whitelist
1 parent 4486961 commit 188602f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Writerside/topics/Declaring-K2-Compatibility.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,6 @@ To test it locally when using the [IntelliJ Platform Gradle Plugin](https://plug
3131
A number of third-party plugins may already be enabled in the K2 mode without a `supportsK2` declaration. The IntelliJ
3232
Kotlin plugin keeps an [internal list](https://github.com/JetBrains/intellij-community/blob/master/platform/core-impl/resources/pluginsCompatibleWithK2Mode.txt)
3333
of plugins which are known to be compatible with the K2 mode as they do not use Kotlin analysis. The authors of these
34-
plugins should not be surprised if their plugin already works in the K2 mode. However, it's still advised to declare K2
35-
support explicitly.
34+
plugins should not be surprised if their plugin already works in the K2 mode. However, it's still advised to check and
35+
declare K2 support explicitly as this list is not future-proof and could potentially contain unsafe plugins due to some
36+
circumstances.

0 commit comments

Comments
 (0)