Visual Studio Code 选项卡宽度 [英] Visual Studio Code tab width

查看:53
本文介绍了Visual Studio Code 选项卡宽度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法在visual studio代码中设置选项卡的最大宽度.当我安装生产力动力工具时,我可以在 Visual Studio 2015 中指定这一点,但我想知道这是否可以通过 Visual Studio 代码实现.

Is there any way to set the maximum width for the tab in visual studio code. I can specify this in visual studio 2015 when I install productivity power tool, but I want to know if this is possible with visual studio code.

推荐答案

我在对 VS Code 用户指南 是在设置编辑器中,您可以更改 tabWidth 以缩小或保持足够大以查看文件名.

The only thing I was able to find while doing some quick research on VS Code User Guide was that in the Settings editor you can change the tabWidth either to shrink or to stay large enough to view the file name.

  // 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",

这篇关于Visual Studio Code 选项卡宽度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆