Visual Studio代码选项卡的宽度

时间:2018-10-15 17:54:11

标签: visual-studio-code

有什么方法可以在Visual Studio代码中设置选项卡的最大宽度。安装生产力增强工具时,我可以在Visual Studio 2015中指定它,但是我想知道使用Visual Studio代码是否可以实现。 enter image description here

1 个答案:

答案 0 :(得分:2)

在对VS Code User Guide进行快速研究时,我唯一能找到的就是在“设置”编辑器中,您可以将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",