Skip to content

Commit

Permalink
Configure supports kotlin plugin mode in plugin.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
filiphr committed Oct 20, 2024
1 parent 15bf835 commit 8f4a96e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
on how to target different products -->
<depends>com.intellij.modules.java</depends>
<depends optional="true" config-file="withKotlin.xml">org.jetbrains.kotlin</depends>
<extensions defaultExtensionNs="org.jetbrains.kotlin">
<supportsKotlinPluginMode supportsK2="true" />
</extensions>

<extensions defaultExtensionNs="com.intellij">
<!-- Add your extensions here -->
Expand Down
3 changes: 0 additions & 3 deletions src/main/resources/META-INF/withKotlin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
-->
<idea-plugin>
<extensions defaultExtensionNs="org.jetbrains.kotlin">
<supportsKotlinPluginMode supportsK2="true" />
</extensions>
<extensions defaultExtensionNs="com.intellij">
<psi.referenceContributor language="kotlin" implementation="org.mapstruct.intellij.codeinsight.references.MapstructKotlinReferenceContributor" />
</extensions>
Expand Down

0 comments on commit 8f4a96e

Please sign in to comment.