Controlling loading of plugin using Flags
Hello,
I wanted to know the correct way of doing this in Intellij IDEA 9.
I would like to load a plugin optionally based on a system property/flag.
Eg
If (flag==True) {
load Plugin_a();
} else {
load Plugin_b();
}
thanks
Siddharth
Please sign in to leave a comment.
Hello Siddharth,
IntelliJ IDEA doesn't have any way to control the loading of plugins programmatically.
The only possibility is to use the system property -Didea.load.plugins.id
and pass a comma-separated list of plugin IDs. However, this list needs to
be defined before IDEA startup.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"