summaryrefslogtreecommitdiff
path: root/src/main/resources
diff options
context:
space:
mode:
authorKyren223 <ulmliad223@gmail.com>2024-02-23 23:11:09 +0200
committerKyren223 <ulmliad223@gmail.com>2024-02-23 23:11:09 +0200
commit5da72c7ec98edfab7fbebc335e1a9fba116988a5 (patch)
treeb44ff2e0a10c1f5c58c7da50c91efc1b7dd2be9d /src/main/resources
parent1017f0d17aa1c745ec0af2de4239c37816d040eb (diff)
Added a new menu for path mappings to allow shortcuts like the built-in `...`
Note: need to rethink how normal paths are saved, they should potentially be saved raw (not absolute paths) and then the virtual file list needs to change to string and then dynamically on the fly replace with mappings of key -> value to make an absolute path that then will be used
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/META-INF/plugin.xml30
1 files changed, 18 insertions, 12 deletions
diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml
index 73b2fd2..f4c9bf1 100644
--- a/src/main/resources/META-INF/plugin.xml
+++ b/src/main/resources/META-INF/plugin.xml
@@ -37,10 +37,10 @@
<extensions defaultExtensionNs="com.intellij">
<applicationConfigurable
parentId="tools"
- instance="me.kyren223.trident.AppSettingsConfigurable"
- id="me.kyren223.trident.AppSettingsConfigurable"
+ instance="me.kyren223.trident.SettingsConfigurable"
+ id="me.kyren223.trident.SettingsConfigurable"
displayName="Trident Settings"/>
- <applicationService serviceImplementation="me.kyren223.trident.AppSettingsState"/>
+ <applicationService serviceImplementation="me.kyren223.trident.SettingsState"/>
</extensions>
<actions>
@@ -51,57 +51,63 @@
<!-- Trident Select Buffer -->
<action id="TridentSelect1"
- class="me.kyren223.trident.TridentSelectAction"
+ class="me.kyren223.trident.SelectAction"
text="Select Buffer 1">
<add-to-group group-id="me.kyren223.trident.mainGroup"/>
</action>
<action id="TridentSelect2"
- class="me.kyren223.trident.TridentSelectAction"
+ class="me.kyren223.trident.SelectAction"
text="Select Buffer 2">
<add-to-group group-id="me.kyren223.trident.mainGroup"/>
</action>
<action id="TridentSelect3"
- class="me.kyren223.trident.TridentSelectAction"
+ class="me.kyren223.trident.SelectAction"
text="Select Buffer 3">
<add-to-group group-id="me.kyren223.trident.mainGroup"/>
</action>
<action id="TridentSelect4"
- class="me.kyren223.trident.TridentSelectAction"
+ class="me.kyren223.trident.SelectAction"
text="Select Buffer 4">
<add-to-group group-id="me.kyren223.trident.mainGroup"/>
</action>
<!-- Select Previous & Next Buffer -->
<action id="TridentSelectPrev"
- class="me.kyren223.trident.TridentSelectAction"
+ class="me.kyren223.trident.SelectAction"
text="Select Previous Buffer">
<add-to-group group-id="me.kyren223.trident.mainGroup"/>
</action>
<action id="TridentSelectNext"
- class="me.kyren223.trident.TridentSelectAction"
+ class="me.kyren223.trident.SelectAction"
text="Select Next Buffer">
<add-to-group group-id="me.kyren223.trident.mainGroup"/>
</action>
<!-- Append -->
<action id="TridentAppend"
- class="me.kyren223.trident.TridentAppendAction"
+ class="me.kyren223.trident.AppendAction"
text="Append File">
<add-to-group group-id="me.kyren223.trident.mainGroup"/>
</action>
<!-- UI Actions -->
<action id="TridentToggleQuickMenu"
- class="me.kyren223.trident.TridentToggleQuickMenuAction"
+ class="me.kyren223.trident.ToggleQuickMenuAction"
text="Toggle Quick Menu">
<add-to-group group-id="me.kyren223.trident.mainGroup"/>
</action>
<action id="TridentQuickMenuSelect"
- class="me.kyren223.trident.TridentQuickMenuSelectAction"
+ class="me.kyren223.trident.QuickMenuSelectAction"
text="Quick Menu Select">
<add-to-group group-id="me.kyren223.trident.mainGroup"/>
</action>
+ <action id="TridentPathMappingsMenu"
+ class="me.kyren223.trident.PathMappingsMenuAction"
+ text="Toggle Path Mappings Menu">
+ <add-to-group group-id="me.kyren223.trident.mainGroup"/>
+ </action>
+
</actions>
</idea-plugin> \ No newline at end of file