question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

.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:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
PKiefcommented, Jun 9, 2018

@kaitlynbrown Thank you for the info 👍 I added the file names to the extension, it will be part of the next update!

1reaction
PKiefcommented, Apr 1, 2019

@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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found