Visual studio code Visual Studio代码选项卡宽度
是否有任何方法可以在visual studio代码中设置选项卡的最大宽度。我可以在安装productivity power tool时在visual studio 2015中指定这一点,但我想知道visual studio代码是否可以实现这一点。Visual studio code Visual Studio代码选项卡宽度,visual-studio-code,Visual Studio Code,是否有任何方法可以在visual studio代码中设置选项卡的最大宽度。我可以在安装productivity power tool时在visual studio 2015中指定这一点,但我想知道visual studio代码是否可以实现这一点。 在快速研究时,我能找到的唯一一件事是,在“设置编辑器”(Settings editor)中,您可以更改tabWidth以缩小或保持足够大以查看文件名 // Controls the sizing of editor tabs. // - fi
在快速研究时,我能找到的唯一一件事是,在“设置编辑器”(Settings editor)中,您可以更改tabWidth以缩小或保持足够大以查看文件名
// 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": "fit",
如果使用了
shrink
,它还将删除X
(这是一件好事)。它会在鼠标悬停时重新出现,但无论如何,您可以用鼠标中键关闭选项卡。