VSCode:更改菜单栏的字体大小?
一个可能非常愚蠢的问题,但我迷路了。
如何更改菜单栏(即标签“文件”、“编辑”、“选择”、“查看”...)的字体大小,包括侧边栏资源管理器、扩展菜单等.(即不是主编码窗口的每个文本)?
我尝试在用户设置中搜索“字体”,但没有看到任何特定于菜单字体大小的选项。
我也无法通过谷歌搜索找到它。
我目前的VSCode版本是1.63.2 我确信我错过了一些东西,并为这个简单的问题提前道歉。
A potentially very stupid question, but I'm lost.
How do I change the font size of the menu bars (i.e. the labels "File", "Edit", "Selection", "View", ...) including the sidebar explorers, extension menus etc. (i.e. every text that is not the main coding window)?
I tried searching the user settings for "font" but I did not see any option specific for the menu font size.
I was also not able to find it via Googling.
The version of VSCode I currently have is 1.63.2
I am sure I missed something and apologies in advance for this simple-minded question.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
按 Ctrl+Shift+P 调出命令面板并运行
View: Zoom In
或查看:缩小
命令。这些命令的默认键绑定是 Ctrl++ 和 Ctrl+-。还有一个名为 缩放栏 的扩展,它将整体缩放级别添加到状态栏。
这也会缩放您的主编码窗口,但您可以通过调整 JSON 设置:
根据您的缩放级别增加或减少此值。
Press Ctrl+Shift+P to bring up the command palette and run the
View: Zoom In
orView: Zoom Out
command. The default keybindings for these commands are Ctrl++ and Ctrl+-.There is also an extension called Zoom Bar which adds the overall zoom level to the status bar.
This will zoom your main coding windows as well, but you can work against that by adjusting your editor font size in your JSON settings:
Increase or decrease this depending on your zoom level.
我在连接到外部 4k 显示器时遇到了这个问题,我找到的解决方案实际上依赖于 Windows 设置而不是 VS 设置。
基本上,如果从桌面检查显示设置,您还可以调整分辨率和“比例”。就我而言,我将其设置为 150%,重新启动 Visual Studio,现在菜单看起来不错 Windows 显示设置菜单< /a>
I faced this exact issue while connecting to an external 4k monitor, the solution I could find relies actually on a windows setting rather than a VS one.
Basically if from the desktop you check your display settings you can adjust as well the resolution and the "scale". In my case I set this to 150%, restarted visual studio and now the menu looks good windows display settings menu
对于标题栏和上下文菜单字体大小,解决方案如下:
如何更改Windows/Ubuntu 中 VS Code 上下文菜单的外观?
或者
https://github.com/microsoft/vscode/issues/224515#issuecomment- 2267264540
For the title bar and context menu fonts size the solution is here:
How to change the appearance of the VS Code context menu in Windows/Ubuntu?
or
https://github.com/microsoft/vscode/issues/224515#issuecomment-2267264540