当前的功能是给我一个下拉选项,选择哪个选项卡是如此烦人。是否有可能删除它,使标签将像在一些现代网络浏览器。
当前回答
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"
}
]
其他回答
如果你正在使用VSCodeVim扩展,你可以使用Vim快捷键:
下一个标签:gt 优先标签:gT 编号标签:nnngt
macOS - 2017 年修订版
在2017年,VS CODE键盘快捷键已更改为CTRL+1, CTRL+2,CTRL+3等,以切换制表符。
CMD+1、CMD+2和CMD+3在制表符组之间切换并创建制表符组
窗户
以前的
Ctrl + Shift + Tab
Next
Ctrl + Tab
苹果操作系统
以前的
移位+ Cmd + [
Next
Shift + Cmd +]
这也适用于MAC OS:
按下选择特定的Tab: Control + 1或Control 2, Control 3等。
按下显示/选择所有可能的选项卡:Control + Tab。
我找不到一个关于VS社区的帖子,所以我将在这里发布我的解决方案。 首先,您需要进入工具->选项->环境->键盘,然后找到命令 Window.NextTab。在底部附近,它应该说“使用新的快捷方式在:”。将其设置为全局(应该是默认值),然后选择右边的文本框并按Ctrl + Tab。删除所选命令的所有当前快捷方式,并单击Assign。对于Ctrl + Shift + Tab,命令应该是Window.PreviousTab。
希望这对你有所帮助。 如果VS社区有一个单独的帖子,我很乐意把这篇帖子移过去。
推荐文章
- 打开同一目录两次
- 如何从终端/命令行调用VS代码编辑器
- 如何在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单引号到双引号自动替换