Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I configure the Material Icon Theme to use default icons for some folders in VS Code?

How can I configure the Material Icon Theme to use default icons for some folders in VS Code?

E.g. I have a folder named trigger and that folder has an unusual icon. I would like to have a default icon for the trigger folder, just as it is for the sibling shoot folder.

enter image description here

I read through the features of the Material Icon Theme inside the VS Code documentation, but was not able to find a way to achieve what I want.

I mean this extension.

Also, I was able to disable all speicific icons styling by using the Material Icons: Change Folder Theme command. But I want to disable only for a specific folder, or at least for a specific folder name (trigger in my case).

like image 224
some1 here Avatar asked Dec 13 '25 03:12

some1 here


2 Answers

Just declare in your settings.json file:

"material-icon-theme.folders.associations": {
    "trigger": ""
  },
like image 87
sanychernizon Avatar answered Dec 15 '25 14:12

sanychernizon


In the settings of the extension there's a option to set the icons of the folders. By default it's set on "specific", you need to set it on "classic".

Screenshot

like image 45
Facundo Irazusta Avatar answered Dec 15 '25 13:12

Facundo Irazusta



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!