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.
I've found that setting the zoom level in settings.json works well for this:
"window.zoomLevel": 1
I have set
"window.zoomLevel": -1
and
"editor.fontSize": 16.5
it works great here's a preview,
The decent way to do is to edit the "window.zoomLevel": 0
, It changes everything on the screen from Project Explorer to your Font.
Also, You can customize only the font by "editor.fontSize": 15
P.S 15px is my personal choice.
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