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

Command Runner

Eno Yao

|
3,471 installs
| (31) | Free
💻A VSCode extension that simply obtains the file path and executes the corresponding command.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Command Runner

Download Macketplace Github Page Eno Yao

A VSCode extension that simply obtains the file path and executes the corresponding command.

demo

How To Use

Click the file directory, select the file, right click the mouse to open the menu bar and select the Run Command option to run the preset command.

demo

Default Configuration

We have preset some commands for you, when you select a file to execute the Run Command, the file path will be replaced by %FILE_PATH%, and you can change the default settings inside.

Configuration Command
command-runner.before-run-command clear
command-runner.run-command DWT_ENV=local npx dwt %FILE_PATH%
command-runner.after-run-command ls

demo

Thanks

❀Tencent Alloy Team

If the extension can help you, please enter the Rating & Review link to give me a five-star praise.

If you have any questions or suggestions during use, please leave a message in the issue.

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