vscode-dotenv
vscode-dotenv copied to clipboard
highliting of .env broken
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
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.