How to exclude plugin from PyCharms IDE compatibility?

Hi, I need to block listing for some IDE’s as being supported for plugin installation. According to relevant JB docs - I’ve set in plugin.xml :

  • <incompatible-with>com.intellij.modules.python</incompatible-with>
    in order to exclude PyCharms - but then as a side effect IntelliJ Ultimate gets excluded. So I ended up using <incompatible-with>PythonCore</incompatible-with> & <incompatible-with>Pythonid</incompatible-with> - in such case plugin is still listed as supported for PyCharms - when trying to install user will get an error the plugin is not supported - which results in bad user experience.
  • <incompatible-with>com.jetbrains.php</incompatible-with> - didn’t help. plugin is still listed as supported for PhpStorm
  • <incompatible-with>com.intellij.modules.ruby</incompatible-with> - this will result in incompatibility with IntelliJ Ultimate. Tried <incompatible-with>org.jetbrains.plugins.ruby</incompatible-with> - but likewise, plugin listed as supported for RubyMine

IDEs have their own module codes besides plugins. Example for PyCharm community:

  <incompatible-with>com.intellij.modules.pycharm.community</incompatible-with>

For PyCharm:

  <incompatible-with>com.intellij.modules.pycharm</incompatible-with>

Many thanks for the prompt reply Yuriy :folded_hands: it did the trick :+1:
I’d consider updating the docs.

@yuriy.artamonov Where can I find a list of those module names?