当前的功能是给我一个下拉选项,选择哪个选项卡是如此烦人。是否有可能删除它,使标签将像在一些现代网络浏览器。
当前回答
你可以这样做: 1.)打开vscode。 2.)按ctrl+k+s(按写好的顺序)。 3.)在搜索栏中输入以下内容:nextEditorInGroup按下第一个传入和键绑定它(由2按下)alt+->(右errow)。 4.)做同样的prevEditorInGroup和键绑定它到alt+<-(左errow)。 5.)现在你可以通过alt+左或alt+右传递标签!
其他回答
linux……我使用ctrl+pageUp或pageDown
Linux键映射来匹配浏览器:
[
{
"key": "ctrl+0",
"command": "workbench.action.lastEditorInGroup"
},
{
"key": "ctrl+1",
"command": "workbench.action.openEditorAtIndex1"
},
{
"key": "ctrl+2",
"command": "workbench.action.openEditorAtIndex2"
},
{
"key": "ctrl+3",
"command": "workbench.action.openEditorAtIndex3"
},
{
"key": "ctrl+4",
"command": "workbench.action.openEditorAtIndex4"
},
{
"key": "ctrl+5",
"command": "workbench.action.openEditorAtIndex5"
},
{
"key": "ctrl+6",
"command": "workbench.action.openEditorAtIndex6"
},
{
"key": "ctrl+7",
"command": "workbench.action.openEditorAtIndex7"
},
{
"key": "ctrl+8",
"command": "workbench.action.openEditorAtIndex8"
},
{
"key": "ctrl+9",
"command": "workbench.action.openEditorAtIndex9"
},
{
"key": "alt+1",
"command": "workbench.action.focusFirstEditorGroup"
},
{
"key": "alt+2",
"command": "workbench.action.focusSecondEditorGroup"
},
{
"key": "alt+3",
"command": "workbench.action.focusThirdEditorGroup"
}
]
有多种方法可以切换选项卡。
基于位置的现代浏览器方式。
{
"key": "ctrl+tab",
"command": "workbench.action.nextEditor"
},
{
"key": "ctrl+shift+tab",
"command": "workbench.action.previousEditor"
}
最近排序
{
"key": "ctrl+shift+tab",
"command": "workbench.action.openNextRecentlyUsedEditor"
},
{
"key": "ctrl+tab",
"command": "workbench.action.openPreviousRecentlyUsedEditor"
}
VSCode 2022
>首选项->键盘快捷键(或Ctrl + K,然后Ctrl + S) 在搜索栏输入“ctrl tab” 替换现有的键绑定(在图片上用红色突出显示)与任何随机 输入“打开下一个编辑器”-将“Ctrl + Page down”替换为“Ctrl + Tab”。 点击“打开以前的编辑器”
Linux 在当前的Vscode 1.44.1版本中
我们可以使用ctrl+pageup作为下一个编辑器 Ctrl +下拉查看以前的编辑器。
如果有改变的必要
ctrl+shift+p >首选项:打开键盘快捷键。
搜索
nextEditor
如果需要更改,请单击它。
推荐文章
- 如何在Visual Studio代码中重置设置?
- 如何将制表符转换为空格,反之亦然,在现有的文件
- 错误:'types'只能在.ts文件中使用- Visual Studio Code使用@ts-check
- Visual Studio Code: .git文件夹/文件隐藏
- Visual Studio Code:如何调试Python脚本的参数
- 如何在Visual Studio代码中触发参数提示?
- 在VS Code中禁用“Comments are not allowed In JSON”错误
- 使用正则表达式搜索和替换Visual Studio代码
- 如何缩进/格式选择的代码在Visual Studio代码?
- 如何禁用预览文件与点击在vs代码?
- Visual Studio代码更改文件资源管理器托盘的字体大小?
- 如何防止Visual Studio Code总是重新打开以前的文件或文件夹?
- VSCode单引号到双引号自动替换
- 如何删除Visual Studio代码中的重复行?
- 如何设置每个文件类型的标签大小?