Reputation: 95
I know there has a way to zoom out/in by cmd + shirt + +/cmd + -
,
but I just want to zoom out edit interface not complete interface, and can zoom in/out by sliding two fingers splay likes JetBrains iDE.
How to config my Visual Studio Code? (note: I want not to install any extensions.)
Upvotes: 1
Views: 1317
Reputation: 11692
What you are looking for is the editor.action.fontZoomIn
(editor.action.fontZoomOut
) command. By default this command is not bound to any keyboard shortcut.
You can open and edit the keyboard shortcuts by pressing ⌘ + K, ⌘ + S.
Instead you also can edit the keybindings.json
directly, for instance like this:
{
{
"key": "ctrl+alt+oem_plus",
"command": "editor.action.fontZoomIn",
"when": "editorFocus"
}
}
I am not aware that vscode supports multi touch gestures. Maybe somebody else knows an issue reference or you may want to open your own issue.
Upvotes: 1