Status bar extension that shows the current content of .env file and allows to swap (overwrite) .env files on click from the status bar.
Showing the currently selected .env preset in status bar:
Status bar will change appearance if preset contains "prod" in its name:
Clicking the status bar button will bring up a prompt to switch the contents of the main .env file with the selected preset:
For the status bar button to show, an .env file must be found at the root of the project.
A set of preset files must exist in the root of the project.
Preset file name should be matching the *.env glob pattern, i.e.: