可以动态调整编辑器窗口选项卡的大小以适应视图 [英] Possible to have editor window tabs dynamically resize to fit into view
本文介绍了可以动态调整编辑器窗口选项卡的大小以适应视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
澄清一下,这个问题与文档中的标签无关.这是关于 Visual Studio Code 中的编辑器选项卡(如浏览器选项卡).当我有更多的打开窗口时会显示额外内容从视图中消失.有没有办法让它们自动调整大小,以便它们都适合网络浏览器的视图?
Just to clarify, this question has nothing to do with tabs inside a document. This is about editor tabs (like browser tabs) in Visual Studio Code. When I have more open than the window will show the extras disappear from view. Is there a way to have them automatically resized so they all fit into view the way a web browser would do it?
推荐答案
应该这样做:
// Controls the sizing of editor tabs.
// - `fit`: Always keep tabs large enough to show the full editor label.
// - `shrink`: Allow tabs to get smaller when the available space is not enough to show all tabs
at once.
"workbench.editor.tabSizing": "shrink",
这篇关于可以动态调整编辑器窗口选项卡的大小以适应视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文