Location of plugins directory - Identified incorrectly in SpellCheck, possibly others as well.

Idea uses the system variable idea.plugins.path to specify the location of
the plugins directory, which can be specified in the idea.lax file (or on
the command line if you don't use the lax file).

I have noticed that the SpellCheck plugin doesn't work when you do this. It
looks for the plugins directory to be in the plugins subdirectory of the
IDEA installation directory.

This would be an extremely easy mistake since IDEA doesn't really advertise
the system variables that can be defined in the lax file (or on the command
line). They can, however, be found here: news:c1vms7$mmq$1@is.intellij.net


Comment actions Permalink

There is an openapi method to get plugins path:

Alexander Kitaev

Comment actions Permalink

You can also use PLUS api:
PluginDescriptor myInfo = PluginManager.getInstance().getDescriptor();
VirtualFile myHome = myInfo.getPluginDirectory();



Please sign in to leave a comment.