当前的功能是给我一个下拉选项,选择哪个选项卡是如此烦人。是否有可能删除它,使标签将像在一些现代网络浏览器。
当前回答
@Combii我找到了交换的方法
CMD+1、CMD+2、CMD+3、CTRL+1、CTRL+2、CTRL+3、
在macOS系统下,转到:
代码>首选项>键盘快捷键
在那个页面上,点击页面右上方的按钮…
并添加下面的配置,然后保存。
[
{
"key": "cmd+0",
"command": "workbench.action.openLastEditorInGroup"
},
{
"key": "cmd+1",
"command": "workbench.action.openEditorAtIndex1"
},
{
"key": "cmd+2",
"command": "workbench.action.openEditorAtIndex2"
},
{
"key": "cmd+3",
"command": "workbench.action.openEditorAtIndex3"
},
{
"key": "cmd+4",
"command": "workbench.action.openEditorAtIndex4"
},
{
"key": "cmd+5",
"command": "workbench.action.openEditorAtIndex5"
},
{
"key": "cmd+6",
"command": "workbench.action.openEditorAtIndex6"
},
{
"key": "cmd+7",
"command": "workbench.action.openEditorAtIndex7"
},
{
"key": "cmd+8",
"command": "workbench.action.openEditorAtIndex8"
},
{
"key": "cmd+9",
"command": "workbench.action.openEditorAtIndex9"
},
{
"key": "ctrl+1",
"command": "workbench.action.focusFirstEditorGroup"
},
{
"key": "ctrl+2",
"command": "workbench.action.focusSecondEditorGroup"
},
{
"key": "ctrl+3",
"command": "workbench.action.focusThirdEditorGroup"
}
]
您现在可以使用CMD+[1-9]切换选项卡和CTRL+[1-3]聚焦编辑器组!希望这个答案对你有帮助。
其他回答
苹果操作系统
前置标签:Shift + Cmd + [
下一选项卡:Shift + Cmd +]
Mac OS(可选)
上一页选项卡:Cmnd+Alt+←
下一个选项卡:Cmnd + Alt + →
窗口:
上一页:Ctrl + Shift + tab
下一个选项卡:Ctrl + tab
Linux / Windows(可选):
上一页:Ctrl +下一页
下一个选项卡:Ctrl + Page Up
更好的方法是使用alt+右和alt+左键导航,就像Jetbrains IDE Webstorm一样
这是我的配置。它还包括创建新文件和文件夹
{
"key": "ctrl+n",
"command": "explorer.newFile"
},
{
"key": "ctrl+shift+n",
"command": "explorer.newFolder"
},
{
"key": "alt+left",
"command": "workbench.action.previousEditor"
},
{
"key": "alt+right",
"command": "workbench.action.nextEditor"
}
@Combii我找到了交换的方法
CMD+1、CMD+2、CMD+3、CTRL+1、CTRL+2、CTRL+3、
在macOS系统下,转到:
代码>首选项>键盘快捷键
在那个页面上,点击页面右上方的按钮…
并添加下面的配置,然后保存。
[
{
"key": "cmd+0",
"command": "workbench.action.openLastEditorInGroup"
},
{
"key": "cmd+1",
"command": "workbench.action.openEditorAtIndex1"
},
{
"key": "cmd+2",
"command": "workbench.action.openEditorAtIndex2"
},
{
"key": "cmd+3",
"command": "workbench.action.openEditorAtIndex3"
},
{
"key": "cmd+4",
"command": "workbench.action.openEditorAtIndex4"
},
{
"key": "cmd+5",
"command": "workbench.action.openEditorAtIndex5"
},
{
"key": "cmd+6",
"command": "workbench.action.openEditorAtIndex6"
},
{
"key": "cmd+7",
"command": "workbench.action.openEditorAtIndex7"
},
{
"key": "cmd+8",
"command": "workbench.action.openEditorAtIndex8"
},
{
"key": "cmd+9",
"command": "workbench.action.openEditorAtIndex9"
},
{
"key": "ctrl+1",
"command": "workbench.action.focusFirstEditorGroup"
},
{
"key": "ctrl+2",
"command": "workbench.action.focusSecondEditorGroup"
},
{
"key": "ctrl+3",
"command": "workbench.action.focusThirdEditorGroup"
}
]
您现在可以使用CMD+[1-9]切换选项卡和CTRL+[1-3]聚焦编辑器组!希望这个答案对你有帮助。
窗户
以前的
Ctrl + Shift + Tab
Next
Ctrl + Tab
苹果操作系统
以前的
移位+ Cmd + [
Next
Shift + Cmd +]
linux……我使用ctrl+pageUp或pageDown
推荐文章
- 在Visual Studio代码中更改突出显示文本的颜色
- Visual studio代码-键盘快捷键-全部展开/折叠
- Visual Studio Code无法检测已安装的Git
- 禁用Visual Studio代码中的工具提示提示
- Visual Studio Code -将空格转换为制表符
- 在VSCode中的列自动硬换行
- Visual Studio Code:格式没有使用缩进设置
- 如何排除文件扩展名和语言从“格式保存”在VSCode?
- Visual Studio代码- URI的目标不存在" package:flutter/material.dart "
- VSCode——如何设置调试Python程序的工作目录
- 是否可以配置控制+滚轮增加/减少缩放在VS Code?
- 如何禁用或隐藏滚动条/小地图?
- Visual Studio代码如何解决合并冲突与git?
- Visual Studio代码-在文件末尾插入换行符
- 如何重新启动VScode编辑扩展的配置?