Open motdotla opened 2 years ago
Up
I was wondering what's the problem with the current icon?
The request file names as mentioned are not possible due to limited VS Code API restrictions (see #330). So these file names are not possible:
.env.example .env.*
The request file names as mentioned are not possible due to limited VS Code API restrictions (see https://github.com/PKief/vscode-material-icon-theme/issues/330). So these file names are not possible:
Makes sense.
was wondering what's the problem with the current icon
It's generic. It would be wonderful for users to have the icon they are most familiar with when glancing at their env files.
I've managed to get something working to address this issue for my setup. I already had a setting fore file.associations for linting etc that does support globs. I then just associated all env files with the tune icon. Hope this helps?
//.vscode/settings.json
{
"files.associations": {
"**.env": "env",
"**.env.dev": "env",
"**.env.test": "env",
"**.env.prod": "env",
"**.env.template": "env",
"**.env.*": "env"
},
"material-icon-theme.languages.associations": {
"env": "tune"
}
}
Icon Type
File Names
Graphic ideas
Sources for that format:
Additional context
.env files have become a defacto standard. It would be so awesome if material icon users like myself were able to get a pretty icon for them.
Thank you for considering! Great project!