Visual Studio Code中的活动栏宽度 [英] Activity Bar width in Visual Studio Code
问题描述
有没有一种方法可以选择性地更改VSCode中的活动栏的宽度( 1.14节)?我有一个1366×768的屏幕,每个像素都很重要,因此我想使此栏变窄并且图标变小至少50%.与垂直OS接口元素相比,例如Windows 10 Taskbar或Plasma 5面板看起来怪异且不合时宜:
Is there a way to selectively change the width of the Activity Bar in VSCode (v. 1.14)? I have a 1366×768 screen where every pixel counts, so I would like to make this bar narrow and icons smaller, by at least 50%. In comparison to vertical OS interface elements, e.g. Windows 10 Taskbar or Plasma 5 panel it looks monstrous and out of place:
我也一直在尝试为Insider版本的VSCode寻找解决方案,但是除了隐藏它之外,我还没有发现任何相关的东西.
I've been also trying to find a solution for the Insider version of VSCode, but apart from just hiding it I haven't discovered anything relevant yet.
我在settings.json
中设置了"window.zoomLevel": 0
.
推荐答案
EDIT (03/03/20): You can also use the customize-ui addon that allows more fine-grained font sizes and other goodies
您还可以在settings.json
中使用负缩放技巧:
You can also use the negative zoom trick in settings.json
:
{
"window.zoomLevel": -1,
"editor.fontSize": 13,
"terminal.integrated.fontSize": 16,
}
整个编辑器会变小,因此您需要补偿editor.fontSize
和terminal.integrated.fontSize
The whole editor will get smaller so you need to compensate editor.fontSize
and terminal.integrated.fontSize
这允许使用较小的活动栏(不幸的是,它作用于所有内容(图标大小,字体大小...)),但我比默认值更喜欢此功能.
This allows for smaller activity bar (unfortunately it acts on everything (icons size, font-size ...)) but I much prefer this than the defaults.
这篇关于Visual Studio Code中的活动栏宽度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!