How to control one plugin not show on different IDE Plugin Marketplace?

已回答

I'm a plugin developer, and I have an question about Jetbrains Plugin Repository.

I notice Laravel plugin (https://plugins.jetbrains.com/plugin/7532-laravel) show that it compatibles with IDEA Ultimate and Phpstorm.

Why PyCharm or WebStorm can not search it on itself's Marketplace?

Is there any setting control when  public a plugin to Jetbrains Plugin Repository? Or some settings on plugin.xml?

 

And I will upload my plugin to Jetbrains Plugin Repository. What I want is only IDEA User can search and install it. How could I do ?

 

Looking forward to your reply, Thanks.

0

But when I use custom Plugin Repository, and set my plugin only depends 'com.intellij.modules.java'.

When I set custom plugin repository address to PhpStorm, I can see my plugin name show in PhpStorm Plugin Marketplace :(

0

Do you specify 'depends' in your custom updatePlugins.xml? Smth like `<plugin id="" > <depends>...</depends> </plugin>`?

Note that it might not work with 'simple' format of this file: https://intellij-support.jetbrains.com/hc/en-us/community/posts/206770475/comments/206135395

0

I used like  this

<idea-plugin>
<depends>com.intellij.modules.platform</depends>
<depends>com.intellij.modules.java</depends>
<depends>com.intellij.modules.xml</depends>
</idea-plugin>

 

0

IDE shows everything that is present in custom repository. When you upload plugin to plugins.jetbrains.com compatibility check would be performed on server side and if your plugin has `<depends>com.intellij.modules.java</depends>` then it would be available only in IDEA and Android Studio.

0

请先登录再写评论。