.env files for specific environments don't have icons
See original GitHub issue.env and .env.example both get the tune icon, but other, environment-specific env files (eg .env.local, .env.dev, .env.staging, .env.prod) appear with the unknown file type icon
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:5 (4 by maintainers)
Top Results From Across the Web
How to set file association to custom .env filename in VSCode ...
By default .env files have a language id of plaintext , but vscode does something special with it to assign a different icon....
Read more >We need to talk about the .env | Platform.sh
env file, because they are not environment-specific. Variable code? Sometimes you may want to vary the code itself with the environment.
Read more >Automate .env files with Gitpod environment variables
Gitpod's environment variables can be used to securely persist small files between workspaces without committing them to source control.
Read more >Can't change ENV file in Settings - Autodesk Forums
Solved: Hi All, I recently created custom libraries, icon menus and an ENV file for a customer off-site. I want to use this...
Read more >Environment Variables: What They Are and How To Use Them
env files in a local development environment. Unlike platform-native variable managers, you do not need to deploy your app to leverage the ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@kaitlynbrown Thank you for the info 👍 I added the file names to the extension, it will be part of the next update!
@richardmillen94 Yeah sure, if you like you can create a pull request with the changes if you’d like to contribute to this project 😉
Here’re the related lines of code that must be adjusted: https://github.com/PKief/vscode-material-icon-theme/blob/59d9f4382557ac3f8946f8c1bf01ec983b075357/src/icons/fileIcons.ts#L587-L599