Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Command RunnerNew to Visual Studio Code? Get it now.
Command Runner

Command Runner

zvi karp

|
1,166 installs
| (0) | Free
Run commands in the terminal from any file.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Command Runner

With this extension, you can run code snippets from any file.

Screenshot

Requirements

  • Visual Studio Code 1.48+

How to Use

  • By default the extention is enabled, you can toggle it using the command palette. Trigger the command palette (Ctrl / Cmd + Shift + P) -> Command Runnder: Enable / Disable.
  • Once it is enabled, above every line that contains the word 'run' followed by a code snipped (e.g. run npm -V) appears a button to execute the command.

To-Dos

  • [ ] Work with two runnables on one line.
  • [ ] Support more complex regex expressions.
  • [ ] Add support for multi-line code blocks with multiple runnables.
  • [ ] Support custom regex expressions.
  • [ ] Add language filters.

Release Notes

0.1.0

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