Skip to content

Commit

Permalink
Update description for custom SVG icons
Browse files Browse the repository at this point in the history
  • Loading branch information
PKief committed Aug 28, 2020
1 parent 6542304 commit ff1aaab
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,15 @@ If there's no leading `*` it will be automatically configured as filename and no

It's possible to add custom icons by adding a path to an SVG file which is located relative to the extension's dist folder. For example a custom SVG file called "sample.svg" can be placed in an icons folder next to VS Code's extensions folder:

```
.vscode
┣ extensions
┗ icons
┗ sample.svg
```

In the settings.json the icon can be associated to a file name or file extension like this:

```json
"material-icon-theme.files.associations": {
"fileName.ts": "../../../icons/sample"
Expand Down

0 comments on commit ff1aaab

Please sign in to comment.