/command-runner

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

Primary LanguageTypeScript

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.