Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Set a Keyboard Shortcut to "Terminate Running Task" in VSCode?

I have my build run my application until I kill it. This works fine, but it would be nice to bind "Terminate Running Tasks" to a keyboard shortcut. Is this possible?

like image 625
Kyle Brandt Avatar asked Nov 24 '15 04:11

Kyle Brandt


1 Answers

All the commands are listed when you go to change a key binding, so you can add something like this to the user settings:

[
    { "key": "shift+cmd+s", "command": "workbench.action.tasks.terminate" } 
]
like image 73
Kyle Brandt Avatar answered Oct 23 '22 16:10

Kyle Brandt