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

China☆狼群 提交于 2019-12-05 02:56:34

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" } 
]

You could also just write exit in the terminal and that would kill it. Just keep in mind that this might not work on everything but it's worth a try ;)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!