mikestead / vscode-dotenv

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

Hightlighting in Code ? #6

Closed SheepDomination closed 6 years ago

SheepDomination commented 6 years ago

Don't *.env files already have syntax highlighting in VSCode ?

mikestead commented 6 years ago

Not as far as I'm aware. If you add a .env file it will prompt you to search the marketplace for an extension to support it.

SheepDomination commented 6 years ago

One more thing, how do you know the extension is working when opening a .env file; simply the .env file has highlighting, shows it is working ?

mikestead commented 6 years ago

yeah that would be a good indication.

You could find it in your installed extensions and disable it, then select the reload button. If the .env file isn't highlighted anymore then you know the extension was working. Then just enable it again.

SheepDomination commented 6 years ago

I ask because originally I thought, as well was informed; I'd need to understand TextMate theme grammar.