Activity Bar width in Visual Studio Code

后端 未结 5 1878
长发绾君心
长发绾君心 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:16

    EDIT (03/03/20): You can also use the customize-ui addon that allows more fine-grained font sizes and other goodies


    You can also use the negative zoom trick in settings.json:

    {
      "window.zoomLevel": -1,
      "editor.fontSize": 13,
      "terminal.integrated.fontSize": 16,
    }
    

    The whole editor will get smaller so you need to compensate editor.fontSize and terminal.integrated.fontSize

    This allows for smaller activity bar (unfortunately it acts on everything (icons size, font-size ...)) but I much prefer this than the defaults.

提交回复
热议问题