The Material Icon Theme provides lots of icons based on Material Design for Visual Studio Code.
You can change the color of the default folder icon using the command palette:
or via user settings:
"material-icon-theme.folders.color": "#ef5350",
You can change the design of the folder icons using the command palette:
or via user settings:
"material-icon-theme.folders.theme": "specific"
You can customize the icon associations directly in the user settings.
With the *.[extension]
pattern you can define custom file icon associations. For example you could define an icon for *.sample
and every file that ends with .sample
will have the defined icon. If there's no leading *
it will be automatically configured as filename and not as file extension.
"material-icon-theme.files.associations": {
"*.ts": "typescript",
"fileName.ts": "angular"
}
The following configuration can customize the folder icons. It is also possible to overwrite existing associations and create nice combinations. For example you could change the folder theme to "classic" and define icons only for the folder names you like.
"material-icon-theme.folders.associations": {
"customFolderName": "src",
"sample": "dist"
}
With the following configuration you can customize the language icons. It is also possible to overwrite existing associations.
"material-icon-theme.languages.associations": {
"languageId": "iconName",
"json": "json"
}
Available language ids:
https://code.visualstudio.com/docs/languages/identifiers#_known-language-identifiers
You can see the available icon names in the overview above.
After installation or update you can click on the 'Activate'-button to activate the icon theme, if you haven't already. The icons will be visible immediately.
Press Ctrl-Shift-P
to open the command palette and type Material Icons
.
-
Change Folder Theme: Change the design of the folder icons.
-
Restore Default Configuration: Reset the default configurations of the icon theme.
-
Change Folder Color: Change the color of the folder icons.
-
Hide Folder Arrows: Hides the arrows next to the folder icons.
-
Configure Icon Packs: Select an icon pack that enables additional icons (e.g. for Angular, React, Ngrx).
-
Activate Icon Theme: Activate the icon theme.
- Material Design Icons
- official icons
Read the contribution guidelines.
If you have some questions or icon requests open a new issue on Github.