monokai-pro-vscode
monokai-pro-vscode copied to clipboard
Possible to add file extension-to-icon associations?
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.
This is a theme thing. Can you please give some examples?
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.
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.
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
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...