Env Inline Switch
A visual environment variable manager for VS Code. Toggle, switch, and organize your .env files without editing raw text.
Features
- Toggle variables — Click to comment/uncomment any variable instantly.
- Multi-value switching — When multiple values exist for the same key (e.g. different
DATABASE_URL entries), activating one auto-comments the others.
- Prefix grouping — Variables are grouped by prefix (
APP_, DB_, etc.). Single-entry groups fall under "UNCATEGORIZED".
- Search — Filter variables by name or value in real time.
- Add / Edit / Delete — Full CRUD via modal dialog.
- Copy — Copy any
KEY=VALUE pair to clipboard.
- Filter pills — Scope the view to a specific prefix group.
Usage
Open any .env file. The extension registers as the default editor for all .env files (.env, .env.local, .env.production, etc.).
To switch back to raw text, right-click the file tab and choose Reopen Editor With... > Text Editor.
Supported Files
*.env (e.g. production.env)
.env* (e.g. .env.local, .env.staging)
Requirements
License
MIT
| |