Is there a quick change tabs function in Visual Studio Code?

后端 未结 18 1732
星月不相逢
星月不相逢 2020-12-07 06:26

The current function of giving me a dropdown option of which tab to choose is just so annoying. Is there a possibility to remove it so the tabs would work like in some moder

18条回答
  •  执笔经年
    2020-12-07 07:21

    Linux key-map to match the browser:

    [
        {
            "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"
        }
    ]
    

提交回复
热议问题