How do I add icon to plugin published in custom repository and customise the plugin homepage link ?

Answered

I've successfully setup a server with updatePlugins.xml It lists my plugin when we search for it. But doesn't show the icon. I've gone through the below given link completely, but I can nowhere find how do I display the icon. 

https://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/update_plugins_format.html

 

FYI: icon shows after the plugin is downloaded and installed. 

I'm unable to customise the Plugin Homepage link. Check the image below. 

6 comments
Comment actions Permalink

For the downloaded plugins, the icon is loaded from the plugin bundle directly. In case of the plugins that are not installed yet, IDE asks Plugin Manager API to provide such a file in PluginLogo.downloadFile.

It generates URL like https://plugins.jetbrains.com/api/icon?pluginId=org.intellij.plugins.markdown

You can try providing similar functionality to make icons available for the Plugin Manager.

 

Plugin Homepage link is not something that you can customize.

0
Comment actions Permalink

Say I'm hosting my updatePlugins.xml file on a domain https://intranet.college.com/intellij-plugins/updatePlugins.xml
Is it possible to load the icon if I'm hosting the icon on the url https://intranet.college.com/api/icon?pluginId=my.plugin.id 
If not, is it possible to upload the plugin to plugins.jetbrains.com that is not available to public. I mean only for internal usage ?

0
Comment actions Permalink

Still waiting for an answer over here. :)

0
Comment actions Permalink

I have the same problem. And not resolve yet.

Also, I don't think it can work with "https://intranet.college.com/api/icon?plugin=my.plugin.id", because updatePlugins.xml not give my.plugin.id icon information.

0
Comment actions Permalink

There is an alternative way (bad way), that is setting IDEA_PLUGINS_HOST_PROPERTY environment to your hosting plugin repository.

But it will let idea not lookup for official plugin repository.

0
Comment actions Permalink

There's a ticket created IDEA-240088 you may follow

0

Please sign in to leave a comment.