visual-studio-code - VS Code Key Binding快速切换终端屏幕?

标签 visual-studio-code

我试图弄清楚是否有一种方法可以设置键绑定(bind)以允许在我在内置终端中打开的终端窗口之间快速切换,而不必每次都单击下拉选择器。在进行个人键绑定(bind)或我可以在哪里看到 VSC 的所有可能命令的列表时,有人知道此命令吗?先感谢您!

最佳答案

如果您想要一些比使用任意键绑定(bind)更流畅的东西,您可以让 Ctrl+Tab 和 Ctrl+Shift+Tab 同时用于编辑器切换和终端切换。
使用 ctrl+shift+p 打开您的键绑定(bind)文件搜索 Open Keyboard Shortcuts (JSON) .然后加..

{ 
  "key": "ctrl+tab",            
  "command": "workbench.action.openNextRecentlyUsedEditorInGroup",
  "when": "editorFocus" 
},
{ "key": "shift+ctrl+tab",      
  "command": "workbench.action.openPreviousRecentlyUsedEditorInGroup",
  "when": "editorFocus" 
},
{
  "key": "ctrl+tab",
  "command": "workbench.action.terminal.focusNext",
  "when": "terminalFocus"
},
{
  "key": "ctrl+shift+tab",
  "command": "workbench.action.terminal.focusPrevious",
  "when": "terminalFocus"
}

关于visual-studio-code - VS Code Key Binding快速切换终端屏幕?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44065101/

相关文章:

visual-studio-code - 如何在 VS Code 中将选定内容复制到光标右侧?

android - 在 VSCode 中使用 Flutter 时不断出现 Dart 错误

c++ - 使用预编译头文件时,使用 vscode 在智能感知中自动包含头文件

visual-studio-code - Visual Studio Code中的Jupyter笔记本不使用事件虚拟环境

testing - vscode-dotnet-test-explorer 调试测试 "Waiting for Process to Attach"

visual-studio-code - 如何调查占用 30% CPU 的 VS Code 虽然它应该什么都不做

go - 运行Go exec.Command()的Visual Studio Code在“kubectl版本”中超时

C# - VS 代码 - 启动 :program . .. 不存在

visual-studio-code - 哪种算法用于在Visual Studio Code/Google Chrome Developer/Sublime(Ctrl + p或Cmd + p)中实现文件搜索?

keyboard-shortcuts - vscode中一个键盘快捷键的多个操作