Where to specify <dependencySupport> extension in split-mode?

Hi,

I’'ve started to migrate a plugin to split-mode and I’m starting with the simple <dependencySupport> extension which my plugin has 2 defined inside <extensions defaultExtensionNs="com.intellij"> in the plugin.xml.

The Modular Plugins documentation states that <extensions> tags

must be located in the module descriptor files where the referenced classes are defined

However, I see that <dependencySupport> extensions are defined in plugin.xmls in various bundled or platform plugins like Git4Idea or VueJs which are already split.

In my view, <dependencySupport> is not related to registering plugin classes, so the documentation might still allow them to be registered in the plugin.xml.

My questions:

  • Is there any verification on the Marketplace side that would prevent publishing a third-party plugin with such registrations, and if not, could the documentation be extended with potential exceptions to those rules?
  • If dependencySupport is in fact not allowed in the plugin.xml, what would be the appropriate place to register them? (backend, frontend or shared)

Thank you!

Please declare it in the main plugin.xml, as it is plugin metadata

We only approve any usages case by case, and the only allowed use at the moment is for vendors of a technology

Thanks @yuriy.artamonov!