如何使用快捷键在 Linux 上的 Visual Studio Code 中调整窗格的宽度?

una*_*der 3 linux visual-studio-code

我正在寻找一种快速快捷方式来调整 VS Code 中当前焦点窗格的大小。那怎么办呢?

在此输入图像描述

Mar*_*ark 5

我无法在 Linux 上进行测试,但有两个命令可能适合您:

Increase Editor Width
Decrease Editor Width

默认情况下未绑定。例如,在您的 keybindings.json 中:

    {
        "key": "alt+-",
        "command": "workbench.action.decreaseViewWidth"
    },
    {
        "key": "alt+=",
        "command": "workbench.action.increaseViewWidth"
    }
Run Code Online (Sandbox Code Playgroud)

[如果“当前聚焦窗格”是指编辑器,而不是侧边栏、面板等]