EnvRadar
The .env manager devs actually need.
EnvRadar goes beyond syntax highlighting. It protects your project from environment variable misconfigurations, leaked secrets, and type errors.
Features
Visual Diff
Compare .env.example against your actual .env file. See missing, extra, and changed variables in a clean visual panel.
Secret Scanner
Detects hardcoded API keys, tokens, passwords, and private keys in your source code. Supports GitHub PATs, AWS keys, OpenAI/Stripe keys, Slack tokens, and more.
Type Validation
Auto-infers expected types from variable names (PORT → number, DATABASE_URL → url, DEBUG → boolean) and validates values. Add custom type hints via settings.
Always-visible sidebar showing:
- Environment Overview — all your .env files and their variables
- Missing Variables — what's in
.env.example but not in .env
- Secret Alerts — leaked secrets found in your codebase
Status Bar
Persistent indicator showing how many env vars are missing. Click to open the diff view.
File Watcher
Auto-refreshes when any .env* file changes.
Commands
| Command |
Description |
EnvRadar: Diff .env Files |
Visual diff between reference and target env files |
EnvRadar: Scan for Leaked Secrets |
Scan workspace for hardcoded secrets |
EnvRadar: Validate Env Types |
Check env values match expected types |
EnvRadar: Switch Environment |
Quick-switch between env files |
Configuration
| Setting |
Default |
Description |
envguard.referenceFile |
.env.example |
Reference file to diff against |
envguard.environments |
[".env", ".env.local", ...] |
Env files to track |
envguard.secretPatterns |
(built-in patterns) |
Regex patterns for secret detection |
envguard.typeHints |
{"PORT": "number", ...} |
Custom type expectations |
envguard.enableStatusBar |
true |
Show missing vars in status bar |
Installation
Search for EnvRadar in the VS Code marketplace, or:
ext install BeFlow.envradar
License
MIT — Built by BeFlow Network