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

1 comment
Comment actions Permalink

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.

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
---
Original message URL:
http://devnet.jetbrains.net/message/5278463#5278463


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.