Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>EnvCheck Dotenv Audit by Ash707987New to Visual Studio Code? Get it now.
EnvCheck Dotenv Audit by Ash707987

EnvCheck Dotenv Audit by Ash707987

Ashutosh Parmar

|
1 install
| (0) | Free
Find missing, blank, duplicate, and placeholder environment variables before running a project.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

EnvCheck for VS Code

Find the missing setup keys before you start the app.

EnvCheck compares a project's environment template with a local environment file. It flags missing, duplicate, blank, and likely placeholder values in VS Code's Problems panel. It works offline and sends no file contents anywhere.

Install and use

  1. In VS Code, run Extensions: Install from VSIX… and select the EnvCheck VSIX.
  2. Open a folder containing a .env.example file.
  3. Use EnvCheck: Check Setup in the Command Palette. Select a finding to jump to its line. Missing keys are listed on the template line that declares them.
  4. Use EnvCheck: Preview Missing Keys to review blank assignments. Confirm to append them to the local file or create it if missing. Fill in the values using your team's approved source and save the file.

In Settings, set EnvCheck: Template or EnvCheck: Target to use a different filename at the workspace root. Multi-root workspaces can configure each folder independently. The explicit commands ask which folder to check.

Try the demo

Open the demo directory from the source archive as a VS Code folder. Its settings select two fictional configuration files. Expect one missing key, one empty value, one placeholder, and one duplicate. Use the preview command to add the missing key, then fill in the blanks and remove the duplicate.

Scope

The extension recognizes standard dotenv assignments, optional export, quoted values, inline comments, and multiline quoted values. It checks each pair of files independently and does not resolve framework-specific precedence or test whether a credential works. Placeholder warnings are heuristic. Values never appear in findings or in the patch preview. Existing assignments are preserved when adding blank keys.

Run npm test to check the parser and insertion behavior. Build with npx @vscode/vsce package.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft