You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何放大VS Code中的文件夹文本?调整代码字号后仍无效

How to Enlarge Folder/File Text in VS Code's Sidebar

I totally get this frustration—tweaking the editor font size doesn’t touch the sidebar text (like the folder and file names in Explorer), right? Let me walk you through the exact fixes that work every time:

Method 1: Use the Visual Settings Interface

  • Open VS Code Settings: Press Ctrl+, (Windows/Linux) or Cmd+, (Mac), or click the gear icon in the bottom-left corner and select "Settings".
  • In the search bar at the top, type sidebar font size.
  • Look for the Window: Sidebar Font Size option. Adjust the number (default is usually 13 or 14) to your preferred size—you’ll see the sidebar text update instantly as you change it.

Method 2: Manually Edit settings.json

If you prefer working directly with the config file:

  • Open the Command Palette: Press Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (Mac).
  • Type Preferences: Open Settings (JSON) and hit Enter.
  • Add or modify this line inside the JSON object:
    "window.sidebarFontSize": 16
    
    Replace 16 with your desired font size, save the file, and the sidebar text will scale up immediately.

Bonus: Full Interface Zoom (If You Want Everything Bigger)

If you want to scale the entire VS Code UI (sidebar, menus, tabs, etc.) instead of just the sidebar text, search for Window: Zoom Level in the settings interface. Adjust the number (positive values zoom in, negative zoom out) to get the overall size you want.

内容的提问来源于stack exchange,提问作者Nisan Ercan Tarhan

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.07 16:27:32