IdeaPluginDescriptor#getPath() deprecated

Answered

Hi Community,

Im using the IdeaPluginDescriptor.getPath() but its now dreprecated.

I can't find the new way to do so.

Is there a place where you can see which function is replaced by which function?

IdeaPluginDescriptor plugin = PluginManager.getPlugin(PluginId.getId("de.myPlugin"));

String ideaPluginFolder = plugin.getPath().getPath() + "/lib/";

Thanks in Advance.

0
2 comments

There were some problems with generated deprecations (getPath() was never meant to be deprecated), please re-sync your plugin project.

1
Avatar
Permanently deleted user

Thanks!

0

Please sign in to leave a comment.