当前的功能是给我一个下拉选项,选择哪个选项卡是如此烦人。是否有可能删除它,使标签将像在一些现代网络浏览器。


当前回答

@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