gpt4 book ai didi

visual-studio-code - 如何在 VS Code 中快速关闭所有打开的终端?

转载 作者:行者123 更新时间:2023-12-01 23:05:29 31 4
gpt4 key购买 nike

如何在 VS Code 中快速关闭所有打开的终端?

我有很多打开的终端,我可以一个一个地检查它们并分别杀死它们中的每一个。或者我可以选择其中的一些,然后杀死选定的批处理。但是这两种方法都不方便,因为它们需要很多时间。我至少有 10000 个打开的终端,而在一批中我可以选择几百个。

有没有办法一次性杀死所有终端?

enter image description here

最佳答案

有一个 Terminal: Kill All Terminals 命令,默认情况下不绑定(bind)任何东西。

你可以为它做一个键绑定(bind)(在你的 keybindings.json 中):

{
"key": "ctrl+alt+k", // whatever you want here
"command": "workbench.action.terminal.killAll"
}

或者在您的 Keyboard Shortcuts 页面中搜索命令,然后单击铅笔图标以输入一些键绑定(bind)。

                         Or

View->Command Palette->输入“kill all terminal”

                         Or

ctrl+shift+p 然后输入“kill all terminal”

Command Palette: Kill All Terminals

关于visual-studio-code - 如何在 VS Code 中快速关闭所有打开的终端?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70971925/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com