How to get plugin ids from the plugin repo ?

Answered

Hello, I want to develop an intellij plugin, which will depend on other plugins. I'm using: https://github.com/JetBrains/gradle-intellij-plugin as the build system. But how to get the plugin id from plugin repo? 

 

I tried to find the plugin id for the 3 plugins: scala/python/psiviewer. I managed to get scala plugin id from here: https://github.com/JetBrains/intellij-scala/blob/idea163.x/resources/META-INF/plugin.xml  . But I can't find the other 2 plugin ids.

5 comments
Official comment

The easiest way is to download the plugin JAR/ZIP and lookup plugin ID in META-INF/plugin.xml.

OK....got python plugin id from here: https://github.com/JetBrains/intellij-community/blob/master/python/pluginResources/META-INF/plugin.xml . Really hard to have figured it out.

 

Is there any routine that I can follow to get any plugin id?

0

Some plugins, like psiviewer, don't have id in their META-INF/plugin.xml files.  https://github.com/cmf/psiviewer/blob/master/META-INF/plugin.xml

0

<name> should be used then if no <id> is present

0

Thanks, Yann. Using <name> works.

0

Please sign in to leave a comment.