lowcoupling
lowcoupling

Reputation: 2169

IntelliJ Idea: how to get a plugin path at runtime

I need to get the path of a plugin inside of the actionPerformed method of one of its AnAction when it is invoked

Upvotes: 0

Views: 216

Answers (1)

Meo
Meo

Reputation: 12491

com.intellij.openapi.application.PathManager#getPluginsPath

or

com.intellij.openapi.application.PluginPathManager#getPluginHome

Upvotes: 2

Related Questions