Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>.env editorNew to Visual Studio Code? Get it now.
.env editor

.env editor

MARCROCK22

|
4,524 installs
| (2) | Free
Edit .env files with every value hidden: Show/Hide per variable, Show all / Hide all
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Env editor

.env files (.env, *.env, .env.*) open in a table where every value is hidden.

  • Show / Hide on each row reveals or hides that value; Show all / Hide all at the bottom does it for the whole file.
  • Edit, Delete and Add write the file and save it right away, keeping comments, quotes and the order of the file.
  • A hidden value is never sent to the view, so it can't flash on screen, not even while VS Code starts.

To edit the raw text, use Reopen Editor With… → Text Editor. Values stay masked there too, with Show/Hide above each variable and Show all / Hide all in the status bar, but the text editor can still show them briefly while VS Code starts or on the extra lines of multiline values, under a block cursor, and in other views such as search results or diffs.

Env editor

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft