Custom icon doesn't show up in Intellij Actions

459 Views Asked by At

I am adding custom icon to my intellij plugin action.

<action icon="/video/videoicon.svg" class="actions.PopupDialogAction" description="Test Description" id="fetchSession" text="Fetch Session"/>

videoicon is a 16*16 custom icon.

My action toolbar doesn't show up the icon though, what am I doing wrong? (the first image which shows blank is where I want to show the icon.

I can access the icon by pressing the command + click, not sure what's wrong.

Action Toolbar image

1

There are 1 best solutions below

2
Vladmix6 On

May be if you invalidate the app cache it will reload the plugin data (not sure if it will work, but after every plugin update some restart is needed). So I will suggest to go to File > Invalidate Caches / Restart > Invalidate and Restart.