在Visual Studio Code中打开多个终端而不拆分屏幕的键盘快捷方式

huangapple go评论50阅读模式
英文:

Keyboard Shortcut to open multiple terminals in vscode without splitting the screen

问题

我想在VS Code中打开多个终端(水平排列),但我不想拆分已经使用'Ctrl' + `打开的现有终端。

我可以进入集成终端并点击'+'图标,但我不确定如何通过键盘快捷键完成相同操作?

英文:

I want to open multiple terminals in VS Code (horizontally), but I don't want to split the existing terminal that I already opened with 'Ctrl' + `.

I can go to the integrated terminal and click on the '+' icon, but I'm not sure how to do the same via keyboard shortcut?

答案1

得分: 1

键盘快捷键为

Ctrl + Shift + `

多工作区:

如果您在Vscode中打开了多个工作区,则此键盘快捷键将询问要在哪个工作区中打开新终端。

它将在终端侧边栏托盘中添加一个新的终端,而不再分割终端。

英文:

The Keyboard shortcut for it is

> Ctrl + Shift + `

Multiple Workspaces:

If you have opened multiple workspaces in Vscode, then, this keyboard shortcut will ask which workspace to use to open the new terminal in.

It will add a new Terminal to the Terminal Sidebar Tray and will not split the terminal anymore.

答案2

得分: 0

命令面板中查看以 Terminal: Create New Terminal 开头的命令。例如,基本的 Terminal: Create New Terminal 命令绑定到<kbd>ctrl</kbd>+<kbd>shift</kbd>+<kbd>`</kbd>。您可以通过编辑您的键盘快捷键来绑定其他类似的命令。

英文:

See the commands in the command palette whose names start with Terminal: Create New Terminal. For example, the basic Terminal: Create New Terminal command is bound to <kbd>ctrl</kbd>+<kbd>shift</kbd>+<kbd>`</kbd>. You can bind other similar commands by editing your keyboard shortcuts.

huangapple
  • 本文由 发表于 2023年6月8日 16:39:52
  • 转载请务必保留本文链接:https://go.coder-hub.com/76430053.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定