Disable IDEA plugins in command line or through a API


Is there a command line parameter to disable any plugin, bundled or external when launching intellij from command line ? If not a and API to disable plugins so that they are not active when the IDE is running.

评论操作 固定链接


I don't see any parameter that allows doing it. There is the disableNonBundledPlugins argument (see https://www.jetbrains.com/help/idea/working-with-the-ide-features-from-command-line.html#arguments), but it doesn't allow to disable specific plugins.

Disabling plugins may be achieved with com.intellij.ide.plugins.PluginManager.disablePlugin(), but it may require IDE restart.