angus-mcritchie / custom-commands

MIT License
1 stars 0 forks source link

custom-commands README

Adds one command to the Command Palate (Ctrl/Cmd + Shift + P) called "Custom Commands: Run... which lists out your commands you define in your VS Code settings customCommands.commands, when you select one, it runs it.

Great for project level commands, like starting docker from a specific docker-compose file, or running a specific npm script.

Usage

Custom Commands usage example

Release Notes

0.0.3

Added command.runOnStartup and command.runOnShutdown options Added usage example to readme

0.0.4

Added VS Code variables to command arguments (e.g. ${selectedText}) so you now write a command like ping ${selectedText} - thanks @vince1024 for the idea/request!

0.0.5

Added new variables to use in command arguments - thanks @yiqingpeng for the request!

0.0.6

Fix directory separator bug for Windows for {folder} and ${workspaceFolder} variables.

Enjoy!