📄 Icons for files📁 Icons for folders🎨 Personalize file & folder colorsYou can modify the color of the default file and folder icons using the command palette: or through user preferences:
📁 Change folder designsYou can alter the appearance of the folder icons using the command palette: or through user preferences:
💧 Set your own icon opacityYou can establish a custom opacity for the icons:
🌈 Adjust icon saturationIf colors don't bring you joy, you can make the icons less saturated, giving them a grayish look or turning them completely grayscale by setting saturation to 0:
You can also achieve no saturation (i.e., grayscale) by enabling Toggle Grayscale. 🔄 Tailor icon associationsYou can personalize the icon associations directly in the user preferences. 📎 Associations for filesWith the If there's no leading
🎨 Add your own SVG iconsYou can incorporate custom icons by adding a path to an SVG file located relative to the extension's dist folder. However, the custom icons' directory must be within the For example, a custom SVG file called
In the settings.json, the icon can be associated with a file name or file extension like this:
Note: The custom file name must be configured in the settings without the file ending 🗂️ Associations for foldersThe following configuration can customize the folder icons. It is also possible to overwrite existing associations and create attractive combinations. For example, you could change the folder theme to "classic" and define icons only for the folder names you prefer.
🖼️ Custom SVG folder iconsSimilar to files, you can reference your own SVG icons for folder icons. It's important to provide two SVG files: one for the closed folder state and another for the opened state. These two files - let's call them "folder-sample.svg" and "folder-sample-open.svg" - must be placed into a directory relative to the extension's dist folder. This directory has to be within the In our example, we place them into an
In the settings.json, the folder icons can be associated with a folder name (e.g. "src") like this:
🌐 Associations for languagesWith the following configuration, you can customize the language icons. It is also possible to overwrite existing associations.
You can view the available icon names in the overview above. See "Known language identifiers" in the VS Code documentation for a list of allowed values for ⌨️ CommandsPress
🌐 Sources of iconsInterested in contributing? Check out the contribution guidelines and open a new issue or pull request on GitHub. 🤝 Contributors🧩 Related extensions |