質問

I've just created a basic plugin which basically adds a live-template / snippet to PHPStorm.

I installed it by zipping the files together, entering PHPStorm > Settings > Plugins and clicking on "Install plugin from disk". After selecting the correct zip file, it appeared in the plugins list, asked me to restart and all worked well - or at least that's what I thought!

My issue is, when I go back to my Settings > Live template the new liveTemplate group doesn't show up and when I try and trigger the live template using "test-tag" followed by TAB it just expands to "" this is not the expected behaviour. Why is this happening??

https://github.com/JasonMortonNZ/test-phpstorm-plugin

NOTE: The strange thing is though, when I install the plugin in Intellij IDEA 13 it works perfectly. The live template group appears in the settings and the live templates trigger fine! Why would this be? Sooo frustrating :(

役に立ちましたか?

解決

Please see http://confluence.jetbrains.com/display/IDEADEV/Plugin+Compatibility+with+IntelliJ+Platform+Products on how to make your plugin compatible with other IDEs based on IntelliJ Platform.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top