.env Manager — Quick way to create Environment Variables

Do you use .env files to manage your environment variables in your local dev environment? .env Manager is a small VSCode extension to quickly add values to .env file, either selecting a text or running the command.

https://marketplace.visualstudio.com/items?itemName=onlyutkarsh.envmanager

Checkout the quick demo.

Usage

The extension exposes a command called .env Manager: Add to .env. The command is available in VS Code "Command Palette" which you can also access using shortcut Cmd + Shift + P on Mac.

Alternatively you can also right click on any active editor and select .env Manager: Add to .env from the context menu.

If the folder does not contain .env file at the root, the extension attempts to create it before adding the line.

Make sure you backup your .env file if you have very important secrets in the .env file.

Never commit your .env file in to source control.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Utkarsh Shigihalli

Utkarsh Shigihalli

Microsoft MVP | Developer | Passionate about Cloud, .NET and DevOps