Where to store Microservices from Plugin

已回答

I'm developing a IntelliJ Plugin which includes some micro-services. As I can't start them out of the .zip file, I'm copying them to the temp folder each time I start them and run them from there. I would however like to only need to copy them once after installing and then call them always from the same space.

Is there a dedicated place where IntelliJ plugins can store files? And how to get there independent of OS.

0

Installed plugins are extracted to the global IDE directory, which you can obtain with:

PluginManagerCore.getPlugin(PluginId.getId("your.plugin.id")).getPluginPath()
1

Thanks, that's exactly what I needed

0

请先登录再写评论。