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

Tim


2 comments
Comment actions Permalink

There is an openapi method to get plugins path:


Alexander Kitaev
http://tmate.org/

0
Comment actions Permalink

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

Thanks!


0

Please sign in to leave a comment.