Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way in vscode to only zoom in on the editor

Currently, when you zoom in while using vscode, the editor, side panel, and icons all get magnified.

Does anyone know how to get functionality similar to Atom where only the editor gets larger?

like image 417
Chris Avatar asked Jan 09 '17 03:01

Chris


People also ask

How do I zoom in Visual Studio editor?

Visual Studio provides commands—View. ZoomIn (Ctrl+Shift+.) and View. ZoomOut (Ctrl+Shift+,)—that increase and decrease the zoom level in various parts of the IDE.


2 Answers

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

  1. Ctrl+Shift+P (or View->Command Palette...)
  2. Type Open User Settings
  3. 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.

 

like image 142
user7418370 Avatar answered Sep 20 '22 15:09

user7418370


Update Version 1.24 - May 2018

There are new commands for to zoom in/zoom out text in editors only:

  • Editor Font Zoom In
  • Editor Font Zoom Out
  • Editor Font Zoom Reset

By default they don't have any keybindings assigned:

screenshot of font zoom commands

like image 33
cezn Avatar answered Sep 19 '22 15:09

cezn