VS Code Marketplace Source on GitHub
In VS Code, Cmd + zooms the whole window. I usually want one part bigger:
the chat while I read an agent’s answer, or the terminal when output is dense.
Doing that means opening Settings and finding the right fontSize key.
Quick Font Size remaps Cmd +, Cmd - and Cmd 0 to the area that has
focus. Everything else stays the same size.
Supported Areas #
Add Option (Ctrl Alt on Linux, Ctrl Shift Alt on Windows) to change all
areas at once. To zoom the whole window, use View: Zoom In.
Status bar #
The status bar shows − [icon] 14 + for the current area. Click the size to
pick another area. Hover it to see every area’s size and reset one.
How it works #
Each area already has a setting: editor.fontSize, chat.fontSize,
terminal.integrated.fontSize, debug.console.fontSize,
markdown.preview.fontSize. The extension picks the one that matches the
focused area and changes it. If a workspace overrides that setting, it changes
the workspace value instead, so the key press is never silently ignored.
The hard part is knowing what has focus. VS Code reports focus for editors and
the terminal, but not for a webview in the sidebar, which is where Claude Code
lives. Keybindings use when clauses, so each area gets its own binding and VS
Code decides which one fires. For the Claude Code sidebar that relies on one of
its internal context keys, which could change in any update.
It is plain JavaScript in a single file, with no build step and no dependencies, and runs locally, so it works in Remote-SSH, WSL and Dev Container windows.
Install #
Run ext install p3rception.quick-font-size in Quick Open (Cmd P), or get
it from the
Marketplace.
Issues and pull requests are welcome on
GitHub.
Area icons are Codicons by Microsoft, licensed under CC BY 4.0.