How to change font size in VS Code sidebar?

后端 未结 4 526
深忆病人
深忆病人 2020-12-30 18:17

Querying for fontsize in User Settings window yields only settings for:

  • editor panes,
  • suggest widget,
  • markdown pre
4条回答
  •  一生所求
    2020-12-30 19:12

    Mihai Chelaru's answer presents a way to do more than just adjust the sidebar's font size. This, however, comes with a price of a bit of fiddling, possibly more than you'd be ready for, if the only thing you were interested in was the simple act of changing the sidebar's font size. So here's a simpler solution.

    Just zoom the whole VS Code's UI in or out with CTRL++ or CTRL+- respectively and than adjust font sizes we do have control over in settings.json file, i.e.:

    • editor.fontSize,
    • editor.suggestFontSize,
    • markdown.preview.fontSize,
    • terminal.integrated.fontSize

    so everything matches. That's it.

提交回复
热议问题