可以让编辑器 window 选项卡动态调整大小以适应视图
Possible to have editor window tabs dynamically resize to fit into view
澄清一下,这个问题与文档中的选项卡无关。这是关于 Visual Studio 代码中的编辑器选项卡(如浏览器选项卡)。当我打开比 window 多的内容时,额外内容会从视图中消失。有没有办法让它们自动调整大小,以便它们都适合网络浏览器的视图?
应该这样做:
// 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",
澄清一下,这个问题与文档中的选项卡无关。这是关于 Visual Studio 代码中的编辑器选项卡(如浏览器选项卡)。当我打开比 window 多的内容时,额外内容会从视图中消失。有没有办法让它们自动调整大小,以便它们都适合网络浏览器的视图?
应该这样做:
// 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",