在Visual Studio Code中有办法改变环境字体大小吗?像智能感知框,调试面板,文件名等。

我知道如何改变编辑器的字体大小,但我不知道如何改变环境字体大小。所以我想知道你是否能改变它。


当前回答

您可以从“视图”菜单中放大和缩小整个用户界面。

现在我使用的是1.21.1版本,在视图菜单中,你可以得到放大和缩小选项,这是第二和第三个最后的选项。 你可以使用Ctrl + +和Ctrl + -。

您可以通过选择“重置缩放”选项随时重置缩放。

其他回答

我把我的设置为“编辑”。字形大小”:12,

保存文件,您将立即看到效果。

享受吧!

As of mid 2017 To quickly get to the settings files press ctrl + shift + p and enter settings, there you will find the user settings and the workspace settings, be aware that the workspace settings will override the user settings, so it's better to use the latter directly to make it a global change (workspace settings will create a folder in your project root), from there you will have the option to add the option "editor.fontSize": 14 to your settings as a quick suggestion, but you can do it yourself and change the value to your preferred font size.

总结一下:

CTRL + shift + p 选择“用户设置” 添加”编辑器。字形大小”:14

同时按Ctrl、Shift、P键,出现菜单,搜索编辑器放大。 选择后,字体会变得更大的程度。

重复这个步骤,直到你达到你想要的字体大小。

您可以从“视图”菜单中放大和缩小整个用户界面。

现在我使用的是1.21.1版本,在视图菜单中,你可以得到放大和缩小选项,这是第二和第三个最后的选项。 你可以使用Ctrl + +和Ctrl + -。

您可以通过选择“重置缩放”选项随时重置缩放。

按照@Edwin的建议按Control+Shift+P后:

查找工作区设置:

然后“将您的设置放在文件右侧以覆盖……默认和用户设置”,或者单击“用户设置”选项卡来调整窗口。zoomLevel(如果这是所需的操作)。