How to restrict Marketplace compatibility listing

Answered

I have a plugin published to the marketplace that shows `Compatible with IntelliJ IDEA (Ultimate, Community), Android Studio and 16 more)`. However the plugin is only tested and intended for 2 IDEs: IntelliJ and PyCharm.

How can I configure the marketplace to only show these two?

 

My research so far:

The plugin does not require any PyCharm specific apis so I am reluctant to add an unneeded entry in plugin.xml in case this could cause the plugin not to be available to IntelliJ:

<depends>com.intellij.modules.python</depends>

I am also concerned that if I declare incompatibilities <incompatible-with> that the plugin will not be available to users with IntelliJ Ultimate instances with the plugins in question:

<incompatible-with>com.intellij.modules.appcode</incompatible-with>
<incompatible-with>com.intellij.modules.clion</incompatible-with>
<incompatible-with>com.intellij.modules.ruby</incompatible-with>
<incompatible-with>com.jetbrains.php</incompatible-with>

 

0
2 comments

Hi,

There is no possibility of manual restricting target IDEs via Marketplace interface.

You should handle it via plugin.xml as you tried but it is not that easy.

Depending on the Python module indeed will make your plugin unavailable in IDEs without Python plugin available (e.g., IntelliJ IDEA without Python plugin installed).

Also your concerns about incompatible-with values are valid. If you add com.intellij.modules.ruby, then your plugin will be incompatible with IntelliJ IDEA with the Ruby plugin installed, etc.

If you don't use any IntelliJ IDEA and PyCharm functionality, then the plugin should work for other IDEs, so I wouldn't try to restrict it at all cost. You limit your plugin's audience without being sure it makes sense. I doubt that plugin developers test their plugins in all available IDEs, as it is too time consuming. I suggest leaving determining compatibilities to the JetBrains Marketplace/IDEs.

0

Ah, I see. okay. thank you for the detailed answer!

0

Please sign in to leave a comment.