Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.env files for specific environments don't have icons #261

Closed
kaitlynbrown opened this issue Jun 6, 2018 · 5 comments
Closed

.env files for specific environments don't have icons #261

kaitlynbrown opened this issue Jun 6, 2018 · 5 comments

Comments

@kaitlynbrown
Copy link

.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

@PKief
Copy link
Owner

PKief commented 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!

@PKief PKief closed this as completed in 8d60336 Jun 9, 2018
@Aysnine
Copy link

Aysnine commented Oct 31, 2018

image
.env, .env.production , .env.development is official.
.env.preview is custom.
Their ICONS should be the same :)

see here https://cli.vuejs.org/guide/mode-and-env.html#modes

@PKief
Copy link
Owner

PKief commented Oct 31, 2018

@Aysnine I added them, thank you 👍

@richardmillen94
Copy link
Contributor

richardmillen94 commented Apr 1, 2019

https://facebook.github.io/create-react-app/docs/adding-custom-environment-variables
Create React App also supports the following env files: .env.test, .env.development.local, .env.test.local, .env.production.local, which aren't currently associated with the icon. Given the popularity of CRA, perhaps these are worth officially adding too?

@PKief
Copy link
Owner

PKief commented 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:

{
name: 'tune',
fileNames: [
'.env',
'.env.example',
'.env.local',
'.env.dev',
'.env.development',
'.env.prod',
'.env.production',
'.env.staging',
'.env.preview',
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants