Open MrZyr0 opened 4 years ago
Hey @MrZyr0, this is currently not possible due to a missing extension API support for this.
The only thing you can do is to set custom folder icon associations in your settings.json like this:
"material-icon-theme.folders.associations": {
"matrix": "images",
"vector": "svg"
}
This feature is also described here: https://github.com/PKief/vscode-material-icon-theme/blob/master/README.md#folder-associations
Ok 😥 I'll leave the outcome notifications active if the API changes in the meantime. 😄 Thanks for you help
Hi 👋 I have an folder architecture like this:
📦_src ┣- 📂assets ┃ ┣- 📂matrix ┃ ┃ ┣- 📂icons ┃ ┃ ┃ ┗- 📜searchMagnifier_icon_black.png ┃ ┃ ┣- 📂illustrations ┃ ┃ ┗- 📂photos ┃ ┗- 📂vector ┃ ┃ ┣- 📂icons ┃ ┃ ┃ ┗- 📜searchMagnifier_icon_black.svg ┃ ┃ ┗- 📂illustrations ┣- 📂js ┣- 📂php ┣- 📂sass ┣ 📜.gitignore ┣ 📜gulpfile.js ┣ 📜LICENSE.md ┣ 📜NOTICE.md ┣ 📜package-lock.json ┣ 📜package.json ┗ 📜README.md
I've already map
_src
onsrc
icon but I want to specify a different icon for the matrix/icons and vector/icons folders.How can I specify an icon based on the parent directory ?