Activity Bar width in Visual Studio Code

后端 未结 5 1826
长发绾君心
长发绾君心 2021-02-03 23:01

Is there a way to selectively change the width of the Activity Bar in VSCode (v. 1.14)? I have a 1366×768 screen where every pixel counts, so I would like to make this bar narro

5条回答
  •  余生分开走
    2021-02-03 23:39

    Not exactly what was asked, but instead of hiding it completely, I added a keyboard shortcut to be able to toggle the bar.

    On macOS: Code > Preferences > Keyboard shortcuts > search for: Toggle Activity Bar Visibility

    On Linux: File > Preferences > Keyboard shortcuts > search for: Toggle Activity Bar Visibility

    Alternatively, you can get to Keyboard shortcuts by pressing ctrl + k and then ctrl + s.

    I set it to Option + B just like Command + B for the Side Bar toggle and show it just when I need something there.

提交回复
热议问题