Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>env-doctorNew to Visual Studio Code? Get it now.
env-doctor

env-doctor

neeravjha

|
3 installs
| (0) | Free
Inline warnings for missing or undocumented environment variables. Squiggles on process.env.VAR not in .env.example — the eslint of env vars.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

env-doctor for VS Code

The env-doctor CLI, now as a VS Code extension.

Get inline squiggles on process.env.VAR references where VAR is not documented in your .env.example.

Features

  • Real-time diagnostics — warnings appear as you type, no save needed
  • Zero config — reads .env.example from your workspace root automatically
  • JS/TS support — works in .js, .ts, .jsx, .tsx files
  • Destructuring — detects const { API_KEY } = process.env too

Example

const url = process.env.DATABASE_URL; // ⚠ "DATABASE_URL" is not in .env.example

Settings

Setting Default Description
envDoctor.exampleFile .env.example Path to example file (relative to workspace root)
envDoctor.enabled true Enable/disable diagnostics

Links

  • npm package — CLI version
  • GitHub Action — PR comments
  • Landing page
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft