alexs77
alexs77

Reputation: 995

Zoom only Text in Visual Studio Code

Is there a way to make Vs-code on Mac only zoom the text/file pane of the window? When I hit Command ⌘+ to zoom, it'll zoom all of the window, ie. also the icons on the left hand side and the file pane on the left as well.

Compare these two screen shots, maybe ;)

I'd only like the source file (nfsd.sh in the screen shot) to be zoomed.

Upvotes: 22

Views: 15497

Answers (5)

futursimple
futursimple

Reputation: 49

  1. Ctrl+, to access settings.

  2. Search for "zoom". Currently there is a mouse-wheel zoom checkbox for the text-editor text, and a separate checkbox for doing the same to the terminal window.

Upvotes: 0

passion
passion

Reputation: 455

On Mac, while pressing the command key, slide two fingers upward to zoom out. Slide downward to zoom in.

Upvotes: 0

Mayowa Daniel
Mayowa Daniel

Reputation: 427

  1. Ctrl + Shift + P

  2. Search 'Zoom'

  3. Pick "Editor Font Zoom In"

Repeat till you get what you want.

Upvotes: 1

alexs77
alexs77

Reputation: 995

Answered in https://stackoverflow.com/a/41684631/5295392:

Out of Box solution for zoom in/out for text only:

  1. Ctrl + Shift + P
  2. Type (Open User Settings)
  3. Search (Edit settings.json)
  4. Add "editor.mouseWheelZoom": true
  5. Save it.

You can use your mouse wheel to zoom in or zoom out only text in the text box.

Upvotes: 41

Akash Baga
Akash Baga

Reputation: 51

Open your settings.json file and increase editor.fontSize to increase the size of the text on the source file.

Upvotes: 5

Related Questions