Where can I find the icons?

I'm customising my toolbar and want to use the "Open File" icon for "Open Directory". Does anybody know the location of the default icons in the PhpStorm directory? I'm on Win 7.

Thanks
And Finally

7 comments
Comment actions Permalink

Hi there,

PhpStorm_Install_Folder/lib/icons.jar

1
Comment actions Permalink

Great! Thanks Andriy.

0
Comment actions Permalink

Ok, I've found them on Linux too (/home/me/.local/share/JetBrains/Toolbox/apps/PhpStorm/ch-0/181.4203.107/lib/icons.jar),  but how to use them?
I can't choose a jar-file in the Menu where I add an action to the Toolbar.

So would be nice, if you could add an icon-chooser, which show an gallery of all PHPSTORM-Internal-ICONS which are still there.
Currently (I think) I must unzip the jar and save the Icons to another directory and then choose the needed Icon-File!?! 

Which size does the Icons should have?

1
Comment actions Permalink

> Currently (I think) I must unzip the jar and save the Icons to another directory and then choose the needed Icon-File!?! 

Correct.

The image file should have .png extension.
The size of the toolbar icons should be 16x16.

 

> So would be nice, if you could add an icon-chooser, which show an gallery of all PHPSTORM-Internal-ICONS which are still there.

 

Feel free to comment/vote for https://youtrack.jetbrains.com/issue/IDEA-162655 or https://youtrack.jetbrains.com/issue/IDEA-185411 or submit your own issue in the same way.

0
Comment actions Permalink

> The size of the toolbar icons should be 16x16.

Wrong. On an old screen the size appears to be 16x16. on my high-dpi screen (with 200% DPI) the icons appear to be 32x32.

Before I go unzipping icons, I want to know how this is handled when you choose a PNG file?

0
Comment actions Permalink

Before I go unzipping icons, I want to know how this is handled when you choose a PNG file?

16x16 is upscaled in case of HiDPI, so as 32x32 is downscaled.
Each icon in the archive has both resolutions.

0
Comment actions Permalink

I mean, how would I go about setting an icon that looks crisp in both normal and high dpi?

Background: I use a settings repository for all my PCs. I use unnamed macros a lot but I'm fed up with three 'alien' icons on the toolbar.

Is there a way to set an icon using a pair of PNG files?

0

Please sign in to leave a comment.