Retrieving plugin version

Hi,

Is there anyway to retrieve the plugin version in code?

Thanks!

0
2 comments

PluginManager.getPlugin(PluginId.getId("your plugin ID")).getVersion()

0

PluginManager.getPlugin(PluginId.getId("your plugin ID")).getVersion() For some reason this snippet retrieve Intellj Version not Plugin

as well the same issue executing

PluginManagerCore.getPlugin(PluginId.getId("com.ankrpt.AnkrPtPlugin")).getVersion()


0

Please sign in to leave a comment.