Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How vscode magnifies the interface

2025-04-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces vscode how to enlarge the interface, the article introduces in great detail, has a certain reference value, interested friends must read it!

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

VS Code (hereinafter referred to as Code) editor is a free and great editor released by Microsoft, which is easy to use, but when zooming in and out of the code, the window of the entire editor (including shortcut navigation, file directory, editor) using the shortcut keys ctrl+= and ctrl+-, will zoom in and out. Unlike the Sublime Text editor, ST only zooms in and out of the right code editing area. The folder directory area is not affected. This makes me think that Code is not convenient when only zooming in and out of the editing area, but Code provides a solution.

Scheme 1: open the Code setting, find the Mouse Wheel Zoom configuration item, select the check box or configure the item as true in the json configuration file, so that you can press and hold the Ctrl key in the code editing area to zoom in and out with the mouse wheel.

The second plan is to 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"}, these are all the contents of the article "how vscode magnifies the Interface" Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report