Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Run command on SaveNew to Visual Studio Code? Get it now.
Run command on Save

Run command on Save

Kiran Kumar Kotari

|
1,175 installs
| (1) | Free
Run command on Save..!
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Run command on Save

Run any command you like on Save..!

How to use

Open your workspace file i.e. <name>.code-workspace it's a JSON file, add the following systax

"kirankotari.RunCommandOnSave": [
    {
        "cmd": "<anyCommandYouLike>"
    }
]

How to install

In VS Code got to Extentions and type RunCommandOnSave then Install.

Known Issues or Enhancements

Open a feature or bug at RunCommandOnSave

Release Notes

1.0.2

Bug: Removing vscode.window.showInformationMessage

1.0.1

Bug: Command was getting lost, took a backup.

1.0.0

Initial release of RunCommandOnSave

Author

Kiran Kumar Kotari

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft