Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Env BridgeNew to Visual Studio Code? Get it now.
Env Bridge

Env Bridge

AdrianTriS

|
3 installs
| (0) | Free
Sync .env files into launch.json, tasks, and VS Code terminals.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Env Bridge

Sync .env files into launch.json, tasks.json, and VS Code terminals.

Features

  • Select environment (dev/staging/prod) from the status bar
  • Sync .env into launch.json configurations
  • Sync .env into tasks.json options.env
  • Inject variables into integrated terminals

Requirements

  • VS Code 1.85+

Config

Create .vscode/envsync.json:

{
  "defaultEnv": "dev",
  "baseEnvFile": ".env",
  "envs": {
    "dev": ".env.dev",
    "staging": ".env.staging",
    "prod": ".env.prod"
  },
  "debugTargets": [],
  "taskTargets": []
}

Notes

  • If debugTargets is empty, all launch configurations are updated.
  • If taskTargets is empty, all tasks are updated.
  • JSON comments in launch.json or tasks.json are supported via jsonc-parser.

Commands

  • Env Bridge: Select Environment
  • Env Bridge: Sync Now
  • Env Bridge: Open envsync.json
  • Env Bridge: Create envsync.json

MIT License

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