vscode-dotenv icon indicating copy to clipboard operation
vscode-dotenv copied to clipboard

highliting of .env broken

Open DenisDangerous opened this issue 4 years ago • 1 comments

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

DenisDangerous avatar Sep 08 '21 05:09 DenisDangerous

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.

nickhstr avatar Sep 16 '21 03:09 nickhstr