Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我让我的构建运行我的应用程序,直到我杀死它。这很好用,但是将“终止正在运行的任务”绑定到键盘快捷键会很好。这可能吗?
当您更改键绑定时,所有命令都会列出,因此您可以在用户设置中添加如下内容:
[ { "key": "shift+cmd+s", "command": "workbench.action.tasks.terminate" } ]
您也可以只exit在终端中写入,这会杀死它。请记住,这可能不适用于所有情况,但值得一试;)
exit