You need an icon for a specific file ending? No problem, just follow these guidelines:
- describe the file ending (e.g. '.xml') and the language (e.g. XML)
- show an example image of the icon or link to official website
- Create icon as SVG
- Copy icon to
icons
-folder - Edit the icon configuration files under
src/icons
folder:- fileIcons.ts
- folderIcons.ts
- languageIcons.ts
Choose your icon colors from the material design colors. Alternatively, the Material Color Converter allows you to pick the correct color by matching a custom color code with the colors of the Material Design color palette.
- Inkscape is a free, open source SVG editor
- There are tools available to convert PNG/JPG images to SVG - Autotracer.org and Vectorizer.io are two examples.
- It's important to produce fully vectorized graphic (don't include a base64 image string in the svg).
- Material Design Icons
- download them as SVG and edit the icons e.g. with Inkscape
- you can use any other source as long as the icons are free to use! This icon theme is absolutely non-commercial, but you should always check the license of your sources!
- Preview your own custom icons locally before submitting a Pull Request. See Custom icon associations in README.md for instructions.
- Create or edit the translations in the
src/i18n
directory. - Create or edit the
package.nls.*.json
files in the root folder
- Install node dependencies with
npm install
- Open project with VS Code
- Press
F5
or runLaunch Extension
in the debug window - Run tests with
Launch Tests