Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Env Inline SwitchNew to Visual Studio Code? Get it now.
Env Inline Switch

Env Inline Switch

HritikR

| (0) | Free
Switch inline environment variables with ease
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

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

  • VS Code 1.110.0 or later

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft