Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Zoom Out in VS Code: Editor, Terminal, and UI

· 6 min read · Home Tech

In this article
  1. What Does Zooming Out Actually Change in VS Code?
  2. How Do You Zoom Out of the Editor Text?
  3. How Do You Zoom Out the Whole Window?
  4. Worked Example: Shrinking Code, Menus, and Terminal Together
  5. Editor Zoom vs Window Zoom Compared
  6. Which Zoom Should You Use?
  7. Why Does Zoom Out Sometimes Do Nothing?
  8. Does Zoom Out Change My Saved Settings or Files?

People type "how to zoom out vs code" because zooming in Visual Studio Code is split across several places: the editor text, the whole window, the terminal, and the side panels. The confusion is that zooming the editor text does not zoom the menus, and zooming the window does not change the font size stored in your settings. The real difference is scope: editor zoom changes how code looks inside the tab, while window zoom scales the entire interface, including menus and the sidebar.

What Does Zooming Out Actually Change in VS Code?

VS Code has three independent zoom levels, and each one is stored separately. Knowing which one you are adjusting saves you from shrinking the wrong thing.

Editor zoom

This changes the font size of the code in the editor area only. Menus, the sidebar, and the status bar stay the same size. The setting is saved per user, so it follows you across workspaces unless a workspace overrides it.

Window zoom

This scales the whole VS Code window: menus, sidebar, tabs, status bar, and the editor text together. It behaves like browser zoom. Use it when the entire interface feels too large, not just the code.

Terminal zoom

The integrated terminal has its own font size, separate from the editor. Shrinking the editor does nothing to the terminal, which is why people sometimes think zoom out "did not work."

How Do You Zoom Out of the Editor Text?

Use the View menu. Open View > Appearance > Zoom Out to reduce the editor font size one step at a time. Repeat until the text is comfortable. The matching Zoom In command sits directly above it.

If you prefer the keyboard, the standard shortcuts are Ctrl+- on Windows and Linux and Cmd+- on macOS. The minus key on the main keyboard works; the numeric keypad minus may not on every layout. Labels and menu paths can differ slightly by version and platform, so if a command is not where you expect, open the Command Palette with Ctrl+Shift+P (or Cmd+Shift+P on macOS) and type "zoom" to see every zoom command the editor offers.

One important detail: editor zoom is a temporary display adjustment. It does not rewrite the editor.fontSize value in your settings file unless you change that setting directly. If you want the size to stick at a specific number, open Settings, search for editor.fontSize, and set a value such as 12 or 14.

How Do You Zoom Out the Whole Window?

Window zoom uses the same View > Appearance submenu, but a different pair of commands: Zoom In and Zoom Out under the window zoom group, plus Reset Zoom. The reset command is the fastest way back to normal if you have clicked zoom out several times and the interface now looks tiny.

The window zoom level is remembered between sessions. That surprises people who zoom out once to show a colleague something and then find their menus small the next morning. Reset Zoom returns everything to the default scale in one step.

If the entire interface is too large because of your operating system's display scaling rather than VS Code, the editor's zoom commands will not fully fix it. Check your system display settings for scale percentage before adjusting anything inside VS Code.

Worked Example: Shrinking Code, Menus, and Terminal Together

Suppose your laptop screen is small and everything in VS Code feels crowded. Here is the order that works:

  1. Open View > Appearance > Zoom Out once or twice to shrink the editor text. Check that line numbers and the minimap still read clearly.
  2. If the menus and sidebar are still too large, use the window zoom out command in the same submenu until the sidebar fits your content.
  3. Click into the terminal panel, then reduce the terminal font size through its own settings or the terminal zoom commands if your version exposes them in the Command Palette.
  4. If you went too far, run Reset Zoom and start again from the default.

Doing it in this order matters because window zoom also scales the editor text. If you shrink the window first and then the editor, you can end up with code that is too small to read while the menus look normal.

Editor Zoom vs Window Zoom Compared

AttributeEditor zoomWindow zoom
What it scalesCode text in the editor onlyEntire interface, including menus and sidebar
Typical shortcutCtrl+- / Cmd+-Same menu group; check the Command Palette for the exact binding
Affects the terminalNoYes, along with everything else
Saved between sessionsYes, as a display adjustmentYes, until Reset Zoom
Best forReading dense code, presentations on a projectorSmall screens, accessibility, showing the UI to a group
Settings file valueeditor.fontSizeWindow zoom level, separate from font settings

Which Zoom Should You Use?

Pick editor zoom if the code is hard to read but the menus and sidebar look fine. This is the common case when you move from a large monitor to a laptop screen and only the text feels cramped.

Pick window zoom if the entire interface is too large: menus spill off the edge, the sidebar takes half the screen, or you are presenting and need everything bigger for an audience. Window zoom is also the right choice when you want one control that affects everything at once.

You can swap one for the other in most situations, but the result differs. Zooming the window out and then zooming the editor in gets you a compact interface with readable code, which is often exactly what a small screen needs. The reverse, shrinking the editor while leaving the window large, keeps the UI comfortable but gives you more lines of code on screen.

Why Does Zoom Out Sometimes Do Nothing?

Three things cause this. First, focus: if the cursor is in the terminal or the search box, the editor zoom shortcut may not apply where you expect. Click into the code area first.

Second, a workspace setting can override your user font size. Open Settings and check whether the workspace tab shows a different editor.fontSize value than the user tab.

Third, the terminal and the editor are separate. Shrinking the editor will never change terminal text; adjust the terminal's own font size in its settings.

If a shortcut does nothing at all, your keyboard layout or an extension may be capturing it. Open the Command Palette, type "zoom," and run the command from the list to confirm the feature works before troubleshooting the key binding.

Does Zoom Out Change My Saved Settings or Files?

No. Zooming out changes how the editor displays text; it does not edit your source files, indentation, or line endings. The one thing it can change is your saved zoom level, which persists between sessions. If you want a permanent, exact font size rather than a relative zoom step, set editor.fontSize in Settings and leave the zoom commands for temporary adjustments.

For shared machines or screen sharing, run Reset Zoom when you finish so the next person sees the default layout. It takes one click and avoids the small-menus surprise later.