Is there a way in vscode to only zoom in on the editor
Out of Box solution for zoom in/out for text only:
- Ctrl+Shift+P (or View->Command Palette...)
- Type Open User Settings
- Edit settings.json
- Add "editor.mouseWheelZoom": true
- Save it.
You can use your mouse wheel to zoom in or zoom out only text in the text box.
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:
You want the FontSize Shortcuts extension.
Installation:
- Ctrl + P
ext install fontsize-shortcuts
- Restart Visual Studio Code.
The shortcuts are:
- Ctrl + = to increase the font size.
- Ctrl + - to decrease the font size.
- Ctrl + 0 to reset the font size.
-
Ctrl + Shift + P
to open the Command Palette - Type
Editor Font Zoom In
- Press
Enter
- Repeat until the font is the desired size