Visual Studio Code change font size for file explorer tray?

前端 未结 10 1943
青春惊慌失措
青春惊慌失措 2021-01-31 01:11

How do I change the font size for the file explorer in Visual Studio Code? There is not an option in the settings.json file.

10条回答
  •  萌比男神i
    2021-01-31 01:39

    Been looking for this answer for a while now. Finally found it on a different thread: https://stackoverflow.com/a/50783324.

    Essentially you override the keyboard shortcuts for View:ZoomIn and View:ZoomOut with the ones for "Editor Font Zoom In" and "Editor Font Zoom Out". Note that you don't need remove the View-based shortcuts, just enter the Editor ones and they'll move to the top and override.

    Works perfect.

    https://code.visualstudio.com/updates/v1_24#_font-zoom-commands

    Kudos to czen

提交回复
热议问题