A VS Code extension to hide/show environment variable values in .env
files, enhancing privacy and readability when working with sensitive information.
- Toggle All Values: Quickly hide or show all environment variable values in an open
.env
file with a single command. - Toggle Line Value: Individually toggle the visibility of a specific environment variable on a line-by-line basis.
- CodeLens Integration: Seamlessly toggle individual line visibility directly from the editor using CodeLens.
- Support for various .env files: Recognizes and works with
.env
,.env.local
,.env.development
,.env.production
, and other similar environment files.
- Open VS Code.
- Go to the Extensions view (
Ctrl+Shift+X
orCmd+Shift+X
). - Search for "Kasita ENV".
- Click "Install".
Once installed, the extension automatically activates when you open a .env
file.
You can access the following commands from the Command Palette (Ctrl+Shift+P
or Cmd+Shift+P
):
Command | Title | Description |
---|---|---|
kasita-env.toggleValues |
Toggle All ENV Values Visibility | Hides or shows all environment variable values in the active .env file. |
kasita-env.toggleLine |
Toggle Line Value Visibility | Hides or shows the environment variable value on the current line. |
For individual lines, a CodeLens will appear above each environment variable. Clicking on this CodeLens will toggle the visibility of that specific line's value.
No data
MIT License © 2025 Whbbit1999