Monokai / monokai-pro-vscode

Issue tracking for Monokai Pro for Visual Studio Code
321 stars 7 forks source link

Possible to add file extension-to-icon associations? #170

Open we3geeks opened 4 years ago

we3geeks commented 4 years ago

Not sure if this is a VS Code thing or a theme thing: Is there a way to change the mapping between file extensions and icons within the theme? There are several file types that are currently represented with what appears to be a "default text file" icon that I'd like to have shown with the same icon used for XML and HTML.

Monokai commented 4 years ago

This is a theme thing. Can you please give some examples?

we3geeks commented 4 years ago

Some suggestions/requests along these lines:

.cfc, .cfm, and .cfml would use the same icon as HTML and XML files.

.jar and .class would use the same icon as .java files.

.xls, .xlsx, etc., would use the same icon as .csv files.

alterae commented 3 years ago

This is a theme thing. Can you please give some examples?

In the vscode-icons theme (and I presume some other themes) the user can add custom associations in the settings JSON. Example JSON on this page from their wiki.

I do a lot of stuff in a scripting language that this icon theme does not support, and I would love to be able to change the association for my code files to differentiate them from other files.

markstreich commented 2 years ago

Will probably break on updates but I have found that editing relevant json in ~/.vscode/extensions/monokai.theme-monokai-pro-vscode-1.1.20/icon-themes/ allowed me to add a few custom associations I was after.

https://code.visualstudio.com/api/extension-guides/file-icon-theme

Khaos66 commented 1 year ago

we use vs-icons which allows us to define custom icons

as long as monokai pro doesn't support this. We're suck with vs-icons as icon-theme...