Reputation: 1391
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?
Upvotes: 79
Views: 61954
Reputation: 115
1.- Go to Settings:
File -> Preferences -> Settings (Ctrl
+ ,
)
2.- Go to the font size settings:
Text Editor -> Font -> Font Size
3.- Set the desired font size, this will only apply to the editor but not to the rest of the application.
Upvotes: 1
Reputation: 758
Yes, you can change it as default. Try these steps:
Upvotes: 2
Reputation: 127
I cannot comment, but this is an update on cezn's answer and wruckie's question beneath it.
I also do not have these options in 1.64.2, however there is an Editor: Mouse Wheel Zoom
option. Find it by searching for zoom
. Works like a charm by holding ctrl.
Upvotes: 8
Reputation: 59
Ctrl + Shift + P
to open the Command PaletteEditor Font Zoom In
Enter
Upvotes: 5
Reputation: 158
You can go to the keyboard shortcuts page, then search up "Editor Font Zoom", there should be some shortcuts you can bind to keys.
Upvotes: 0
Reputation: 3027
To change the keyboard shortcuts so they only zoom the editor font, you just need to:
(Control+Shift+P)
and type Keyboard Shortcuts. Choose Preferences: Open Keyboard Shortcuts
.zoom.
You'll see a few results, including those for global zoom and editor font zoom.
3)If you want to replace the global zoom shortcuts with editor font zoom, you first need to remove the keybindings from View: Zoom In
and View: Zoom Out
. You can right-click them and choose Remove Keybinding
or select them and hit the delete key.Editor Font Zoom In
and Editor Font Zoom Out
. You just select Editor Font Zoom In
and click the +
on the left hand side, type the keybinding you want (eg. Control+Shift+=
) and then press enter.Note: you might need to open new VS Code windows for these changes to take effect. If the keyboard shortcuts are still zooming the whole interface, you'll need to make sure that you have removed the keybindings from View: Zoom In
and View: Zoom Out
(see step 3 above)
Upvotes: 5
Reputation: 3035
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:
Upvotes: 69
Reputation: 52
You can zoom in, zoom out or reset to default and only the editor window will be effected.
Upvotes: 0
Reputation: 340
Upvotes: 4
Reputation: 141462
You want the FontSize Shortcuts extension.
Installation:
ext install fontsize-shortcuts
The shortcuts are:
Upvotes: 26
Reputation: 1651
Out of Box solution for zoom in/out for text only:
You can use your mouse wheel to zoom in or zoom out only text in the text box.
Upvotes: 165