Is there 'declarative' way to prevent plugin installiation if specific (not built-in) plugin has already installed?
已回答
For example, user can't install plaugin plaugin "A" if IDE has not built-in plugin "B".
In accordance with documentation we can specify IDE version that plugin compatible with. Also we can specify incompatible with our plugin modules of built-in plugins(<incompatible-with> tag in plugin.xml). But we can't specify 'custom' plugins that are not compatible with our plugin.
The only way i've found is to use 'ApplicationLoadListener' to check installed plugns and disable plugin if specific one was found.
请先登录再写评论。
No, the only related functionality is com.intellij.ide.plugins.PluginReplacement
Thanks a lot for the info!