vscode-dotenv

Support for dotenv file syntax

Usage no npm install needed!

<script type="module">
  import vscodeDotenv from 'https://cdn.skypack.dev/vscode-dotenv';
</script>

README

VSCode .env syntax highlighting

A port of DotENV for vscode.

Example

Associate files

If you use specific .env file naming convention (e.g. .env.jenkins) you can add dotenv support by setting the files.associations setting key as following :

"files.associations": {
    ".env.jenkins": "dotenv"
 }

Now, files with name .env.jenkins will be handled as dotenv file.

Acknowledgements