Reputation: 85
I am trying to implement a Golang code generation/auto completion plugin for Intellij using the PSI, so I need to add a dependency on my Golang plugin. This looks like what I want to do - https://www.jetbrains.org/intellij/sdk/docs/basics/plugin_structure/plugin_dependencies.html
Now the question is how can I figure out id and name and version of the plugin Im using? It does not seem to be anywhere in the plugin preferences
The PSI elements are of com.goide.psi.impl.GoTypeImpl class and similar.
Upvotes: 0
Views: 268
Reputation: 714
There is an easy way to do it.
Both version
and xmlId
can be found on the particular plugin update page:
Upvotes: 1
Reputation: 4869
There is no easy way to get a plugin id. You can check plugin.xml
to get it. For Go Plugin it's org.jetbrains.plugins.go
.
Versions can be found on plugin page.
Upvotes: 1