Visual Studio Code change font size for file explorer tray?

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.


Solution 1:

I've found that setting the zoom level in settings.json works well for this:

"window.zoomLevel": 1

Solution 2:

I have set

"window.zoomLevel": -1 and "editor.fontSize": 16.5

it works great here's a preview,

here's a preview

Solution 3:

enter image description here

Sample value : -1, 0, 1, 2, ...

I have mine set to 0, like this "window.zoomLevel": 0,

Save the file, you will see the effect right the way.

enter image description here

Solution 4:

I'm visually impaired and I had the same problem, my solution was

  1. "Zoom Out" until I achieved my desired Explorer size (CTRL-), everything will be zoomed out.

  2. Edit the settings.json and change the "fontSize" to 20 as reflected in my settings.json.

{
    "window.zoomLevel": 0,
    "editor.fontSize": 20,
    "php.validate.executablePath": "C:/apps/php 7.0.14/php.exe"
}

Solution 5:

You can try:

Ctrl + + for zoom in

or

Ctrl + - for zoom out