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 file lost syntax highlighting #330

Open
idawnwon opened this issue Mar 25, 2023 · 1 comment
Open

.env file lost syntax highlighting #330

idawnwon opened this issue Mar 25, 2023 · 1 comment

Comments

@idawnwon
Copy link

Hi there! Great product!

A small problem.

Disable vs-shell-format, .env file syntax highlighting come back.

Tried solution in #53, does not work.

Thanks in advance!

@SheldonWBM
Copy link

SheldonWBM commented Jan 31, 2024

I also have the same issue and the solution in #53 does not fix it.
Workaround 1:

  1. In settings.json
"files.associations": {
    "dotenv": "env"
}
  1. Install DotENV
    Id: mikestead.dotenv
    Description: Support for dotenv file syntax
    Version: 1.0.1
    Publisher: mikestead
    VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=mikestead.dotenv

Workaround 2:
Disable this plugin until a fix is found

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

2 participants