gpt4 book ai didi

visual-studio-code - 在 Visual Studio Code 中关闭构建面板

转载 作者:行者123 更新时间:2023-12-02 02:53:25 26 4
gpt4 key购买 nike

每当我在 Visual Studio 代码中运行构建时,都会弹出一个带有构建输出的面板。

有没有办法用键盘快捷键关闭这个面板?

在 Sublime Text 中,我只需按 esc 即可关闭。可以在 VSCode 中模仿这种行为吗?

最佳答案

您可以定义隐藏当前终端的快捷方式

例如,我的是:

{
"key": "ctrl+l",
"command": "workbench.action.terminal.toggleTerminal"
}

或者你可以设置一个
{
"key": "escape",
"command": "workbench.action.closePanel"
}

最后一个将模仿您的 SublimeText 体验。

关于visual-studio-code - 在 Visual Studio Code 中关闭构建面板,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50849502/

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