Why don't pluginIcon.svg appear in Light theme?

Answered

 

Detailed descriptions are located in the two issue links below. My feignx plugin is used to navigate springcloud's feign interface. If the feign interface is valid, then it will display the glutter on the left side of the code icon button, but it doesn't appear in the light theme of the new intellij idea. It's normal on other themes. Feignx is on the official market and the source code is open source

 

below is my pluginIcon.svg :

<?xml version="1.0" encoding="UTF-8"?>
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="8" cy="8" r="7" fill="#019486"/>
<path d="M7.5 4L4 12L11 7H8L12 4H7.5Z" fill="white"/>
</svg>
 

 

https://github.com/lyflexi/feignx-plugin/issues/3

 

https://github.com/lyflexi/feignx-plugin

 

 

0
2 comments

It seems you're mixing up plugin logo vs plugin icon.

Plugin logo is located at META-INF/pluginIcon.svg and is used for displaying a logo for the plugin. Your current plugin logo file https://github.com/lyflexi/feignx-plugin/blob/main/feignx/src/main/resources/META-INF/pluginIcon.svg  doesn't follow the rules from https://plugins.jetbrains.com/docs/intellij/plugin-icon-file.html. 

To use icons in the IDE for your plugin, follow guide from here https://plugins.jetbrains.com/docs/intellij/icons.html and put icon files in proper location.

1

Yann Cebron  thanks very much! You've done me a great favor , thanks

0

Please sign in to leave a comment.