Run On Save for Visual Studio CodeThis extension allows configuring commands that get run whenever a file is saved in vscode. NOTE: Commands only get run when saving an existing file. Creating new files, and Save as... don't trigger the commands. Features
ConfigurationAdd "emeraldwalk.runonsave" configuration to user or workspace settings.
Sample ConfigThis sample configuration will run echo statements including the saved file path. In this sample, the first command is async, so the second command will get executed immediately even if first hasn't completed. Since the second isn't async, the third command won't execute until the second is complete.
CommandsThe following commands are exposed in the command palette:
Placeholder TokensCommands support placeholders similar to tasks.json.
Environment Variable Tokens
LinksLicense |