Home > Development Tools > VSCode > body text

How to enlarge the interface of vscode

藏色散人
Release: 2020-03-13 12:34:39
Original
21381 people have browsed it

How to enlarge the interface of vscode

How to enlarge the interface of vscode? Zoom in and out of the VS Code edit box

(Recommended tutorial: vscode tutorial)

VS Code (hereinafter referred to as Code) editor is A free and great editor launched by Microsoft, it is relatively easy to get started, but when zooming in and out of the code, use the shortcut keys ctrl = and ctrl - to open the entire editor window (including shortcut navigation, file directory, editor ) will be zoomed in and out. This is different from the Sublime Text editor. ST only zooms in and out the code editing area on the right side and will not affect the folder directory area. This makes Code inconvenient when I want to only zoom in and out of the editing area, but Code provides a solution

Option 1: Open Code settings, find the Mouse Wheel Zoom configuration item, and select the check box or Configure this item to true in the json configuration file, so that you can hold down the ctrl key in the code editing area and use the mouse wheel to zoom in and out.

Option 2: Configure the quick operation of zooming in and out to achieve the same effect as ST.

Open the custom key binding file keybindings.json (shortcut key ctrl k ctrl k)

Copy the corresponding code to the file according to the operating system.

on macOS:
{ "key": "cmd+=",               "command": "editor.action.fontZoomIn" },
{ "key": "cmd+-",               "command": "editor.action.fontZoomOut" },
{ "key": "cmd+0",               "command": "editor.action.fontZoomReset" },
on Windows and Linux:
{ "key": "ctrl+=",               "command": "editor.action.fontZoomIn" },
{ "key": "ctrl+-",               "command": "editor.action.fontZoomOut" },
{ "key": "ctrl+0",               "command": "editor.action.fontZoomReset" },
Copy after login

The above is the detailed content of How to enlarge the interface of vscode. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!