keymap plugin

Answered

I made a simple keymap plugin here: 

https://github.com/jonathanlocke/intellij-easymap-mac

It installs okay and I see the logo (although it is strange that it doesn't appear initially when I install from disk, but appears later), but my keymap under "src/main/resources/keymaps" does not appear in the list of keymaps in the IntelliJ preferences dialog. I've spent a couple hours googling and cannot find an example that explains how to do this. Does anyone have an idea of what I am doing wrong?

Thanks,

     Jon

 

0
5 comments

Your plugin does not expose necessary extension point com.intellij.bundledKeymap to instruct IDE to provide the bundled keymap file. See community/java/java-impl/src/META-INF/JavaPlugin.xml as sample from IJ Community.

0

Thank you Yann! I will take a look.

0
<idea-plugin>

<id>com.github.jonathanlocke.intellijeasymapmac</id>
<name>EasyMap macOS</name>
<vendor>Jonathan Locke</vendor>
<version>1.0.0</version>

<description>A simple, logical and easy-to-remember keymap for IntelliJ on macOS.</description>

<bundledKeymap file = "EasyMap macOS.xml"/>

</idea-plugin>


Still not seeing it. Does the XML file go in src/main/resources/keymaps if I'm using the IntelliJ plugin template?

  -- Jon

0

For anyone watching this post, I was missing the parent node in the XML file. This works now:

<extensions defaultExtensionNs = "com.intellij">
<bundledKeymap file = "EasyMap macOS.xml"/>
</extensions>
0

Please sign in to leave a comment.