如何在 Visual Studio Code 中更改窗口选项卡字体的大小? [英] How to change size of window tab font in Visual Studio Code?

查看:174
本文介绍了如何在 Visual Studio Code 中更改窗口选项卡字体的大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的电脑是 4k 显示器,现在标签字体太小了.如何更改窗口选项卡字体的大小,如图所示?

My computer is 4k display and the tab font is too tiny now. How to change the size of window tab font in as shown in this picture?

推荐答案

可以使用以下方法访问 window.zoomLevel 设置:文件 > 首选项 > 设置并搜索zoomlevel"

The window.zoomLevel setting can be accessed using: File > Preferences > Settings and search for "zoomlevel"

window.zoomLevel设置的VS代码截图

此设置似乎可以缩放窗口中的所有内容,但顶部菜单栏除外.

This setting appears to zoom everything in the window, except for the top menubar.

我使用 0.5 的缩放级别.

I use a zoomLevel of 0.5.

将其更改为 0.5 后,我减少了 editor.fontSize 的设置,以避免代码编辑器中的 fontsize 变得太大.

After changing it to 0.5, I reduced my setting for editor.fontSize, to avoid the fontsize in the code editor becoming too large.

在设置中修改 window.zoomLevel 的另一种方法是使用 Ctrl + 和 Ctrl - 以 1 为增量修改 window.zoomLevel.

An alternative to modifying window.zoomLevel in settings is to use Ctrl + and Ctrl - to modify window.zoomLevel in increments of 1.

(我认为 VS Code 目前没有任何选项可以配置用于选项卡名称的字体大小.)

(I don't think VS Code currently has any option to configure only the size of the font used for the tab names.)

这篇关于如何在 Visual Studio Code 中更改窗口选项卡字体的大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆