Keeps your .env-example file automatically synced with your .env file, removing sensitive data and ensuring a clean, up-to-date example for your project.
Features
Asks the user if it should keep a .env-example file in sync with the currently opened .env file at the first save.
Updates the .env-example file every time the user saves the .env file and supports all *.env.* files.
Toggle buttons on the editor toolbar to control whether or not to keep the .env-example file in sync.
Displays error messages for invalid .env to let the user know why the .env-example file wasn't updated.
Unobtrusive, adding no additional placeholder data to the .env-example.
Works with a single, double, single multi-line, and double multi-line quotes.
Removes any unnecessary extra lines from multi-line values, keeping the example clean.
Extension Settings
env-example-auto-generator.Error-Notifications Toggles whether or not to display error notifications for invalidly formatted .env files.