mikestead / vscode-dotenv

DotENV extension for vscode with 1M+ installs
MIT License
105 stars 13 forks source link

highliting of .env broken #24

Open DenisDangerous opened 3 years ago

DenisDangerous commented 3 years ago

I open .env file and no any syntax highlighting If I rename it for example to my.env all will be fine. Also works fine with .env.example

nickhstr commented 3 years ago

This issue affected me on another .env syntax extension, which led me to believe it was something built-in to VS Code. In my search for what it could be, I stumbled on a StackOverflow answer, suggesting that setting "workbench.editor.languageDetection": false might resolve it. After doing so, it's been back to normal for me. No more missing syntax highlighting, or switching to an Ini syntax highlighting.