Programatically finding the plugin installed directory
Hi
I have my plugin bundle as a zip file. And once I install it I can find the extracted files inside
/home/isuru/.IdeaIC14/config/plugins/ctap-idea-plugin
isuru@isuru-XPS13-9333:~/.IdeaIC14/config/plugins/ctap-idea-plugin$ tree
.
└── lib
├── cglib-nodep-2.2.2.jar
├── ctap-idea-plugin.jar
├── guava-18.0.jar
├── javassist-3.18.2-GA.jar
├── junit-4.11.jar
├── mockito-all-1.9.5.jar
├── mortbay-jetty-runner-8.1.9.jar
├── objenesis-2.1.jar
├── powermock-mockito-1.5.5-full.jar
└── testng-6.7.jar
My question is - How to programatically find the plugin install directory ?
Please sign in to leave a comment.
new File(PathManager.getPluginsPath(), "ctap-idea-plugin")