Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Multi DotenvNew to Visual Studio Code? Get it now.
Multi Dotenv

Multi Dotenv

AuraBox

|
1 install
| (0) | Free
Manage multi-file .env profiles with notes, secret masking, and sync to .env.local
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Multi Dotenv

A VS Code extension for managing multi-file .env profiles with a dashboard UI, secret masking, notes, and one-click sync to .env.local.

Author: dark-aura-95 · Publisher: AuraBox · Repo: vscode-env-manger

Features

  • Multi-file profiles — Each .env* file in the workspace root is a named profile (.env, .env.dev, .env.prod, …)
  • Dashboard UI — Search, edit, reorder, and manage variables from a webview panel
  • Apply → .env.local — Switch the active profile and sync its values to .env.local for local development
  • Shared keys across profiles — Add a variable to all profiles at once; set values per profile
  • Notes — Optional one-line notes stored as # comment lines above variables in profile files
  • Duplicate profile — Copy a profile file to a new .env.* name from the toolbar
  • Secret masking — Masks values for keys containing SECRET, TOKEN, PASSWORD, API_KEY, or JWT_SECRET
  • Generate .env.example — Create a sanitized keys-only example from the active profile
  • Validation — Warns about duplicate keys, empty values, and other common issues

Getting Started

  1. Open a workspace with profile files such as .env.dev and .env.prod (or create .env from the empty state)
  2. Run Multi Dotenv: Open Dashboard from the Command Palette, or click ENV in the status bar
  3. Select a profile, edit variables, then click Apply to sync it to .env.local

How profiles work

File Role
.env, .env.dev, .env.prod, … Profile sources — edited in the dashboard and stored on disk
.env.local Local runtime — written when you click Apply (not shown as a profile)
.env.example Template — generated from the active profile; not treated as a profile

Supported profile names

File Profile name
.env Default
.env.dev / .env.development DEV
.env.test / .env.testing TEST
.env.qa QA
.env.uat UAT
.env.uat_gcp UAT GCP (from tokens)
.env.staging / .env.stg STAGING
.env.prod / .env.production PROD
.env.local (in filename) LOCAL
Other .env.* Stage tokens from the suffix (e.g. .env.preprod → PREPROD)

Example layout

my-project/
  .env.dev          # development values
  .env.prod         # production values
  .env.local        # created/updated on Apply
  .env.example      # optional generated template
# .env.dev
# API base URL for development
API_URL=https://api-dev.example.com
DB_HOST=localhost

After Apply on the DEV profile, .env.local contains only that profile's active variables.

Commands

Command Description
Multi Dotenv: Open Dashboard Open the environment dashboard
Multi Dotenv: Open Dashboard in New Editor Open the dashboard beside the current editor
Multi Dotenv: Switch Environment Pick and activate a profile (syncs to .env.local)
Multi Dotenv: Generate Example File Create .env.example from the active profile
Multi Dotenv: Refresh Environment Reload profiles and variables from disk
Multi Dotenv: Add Variable Open the dashboard to add a variable
Multi Dotenv: Delete Variable Open the dashboard to delete a variable

Settings

Setting Default Description
multiDotenv.showSecretsMasked true Mask secret variable values by default
multiDotenv.autoDetectEnvFiles true Auto-detect .env* files as profiles (excludes .env.example and .env.local)

License

MIT © 2026 dark-aura-95 / AuraBox — see LICENSE.

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