summaryrefslogtreecommitdiff
path: root/src/main/resources
diff options
context:
space:
mode:
authorKyren223 <ulmliad223@gmail.com>2024-02-13 14:07:55 +0200
committerKyren223 <ulmliad223@gmail.com>2024-02-13 14:07:55 +0200
commit6f6bd6a028f48a1685370049406986425f889a50 (patch)
tree0dcb9ccf43b21b754b80cd8b519003b022e21832 /src/main/resources
parent923453baa759f7d7e2f6fb4e1d1610fe5b773789 (diff)
Added a settings menu
Changed project from java to kotlin
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/META-INF/HarpoonForJB-IdeaVim.xml2
-rw-r--r--src/main/resources/META-INF/plugin.xml11
2 files changed, 10 insertions, 3 deletions
diff --git a/src/main/resources/META-INF/HarpoonForJB-IdeaVim.xml b/src/main/resources/META-INF/HarpoonForJB-IdeaVim.xml
new file mode 100644
index 0000000..164f46c
--- /dev/null
+++ b/src/main/resources/META-INF/HarpoonForJB-IdeaVim.xml
@@ -0,0 +1,2 @@
+<idea-plugin>
+</idea-plugin>
diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml
index 2aca8f6..7469358 100644
--- a/src/main/resources/META-INF/plugin.xml
+++ b/src/main/resources/META-INF/plugin.xml
@@ -1,7 +1,7 @@
<!-- Plugin Configuration File. Read more: https://plugins.jetbrains.com/docs/intellij/plugin-configuration-file.html -->
<idea-plugin>
<!-- Unique identifier of the plugin. It should be FQN. It cannot be changed between the plugin versions. -->
- <id>me.kyren223.HarpoonForJB</id>
+ <id>me.kyren223.harpoonforjb</id>
<!-- Public plugin name should be written in Title Case.
Guidelines: https://plugins.jetbrains.com/docs/marketplace/plugin-overview-page.html#plugin-name -->
@@ -27,10 +27,15 @@
<!-- Product and plugin compatibility requirements.
Read more: https://plugins.jetbrains.com/docs/intellij/plugin-compatibility.html -->
<depends>com.intellij.modules.platform</depends>
-
+ <depends optional="true" config-file="HarpoonForJB-IdeaVim.xml">IdeaVIM</depends>
<!-- Extension points defined by the plugin.
Read more: https://plugins.jetbrains.com/docs/intellij/plugin-extension-points.html -->
<extensions defaultExtensionNs="com.intellij">
-
+ <applicationConfigurable
+ parentId="tools"
+ instance="me.kyren223.harpoonforjb.AppSettingsConfigurable"
+ id="me.kyren223.harpoonforjb.AppSettingsConfigurable"
+ displayName="HarpoonForJB Settings"/>
+ <applicationService serviceImplementation="me.kyren223.harpoonforjb.AppSettingsState"/>
</extensions>
</idea-plugin> \ No newline at end of file