如何在 Visual Studio Code 中禁用选项卡? [英] How do I disable tabs in Visual Studio Code?

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

问题描述

在新版本的 Visual Studio Code 中,选项卡默认呈现.如何禁用/隐藏它们,因为我真的很喜欢以前没有任何选项卡的行为?

With the new version of Visual Studio Code, tabs are rendered by default. How do I disable / hide them as I really liked the previous behavior without any tabs?

推荐答案

编辑器标签从 Visual Studio Code 1.3 版(2016 年 6 月)开始出现并默认启用.禁用编辑器标签:

Editor Tabs make their appearance starting with Visual Studio Code version 1.3 (June 2016) and are enabled by default. To disable editor tabs:

  1. 打开 Visual Studio Code 用户设置(首选项用户设置).这将打开两个并排的文档.
  2. 添加一个新的 "workbench.editor.showTabs": false, 条目(如果这是最后一个条目,请省略结尾的逗号).
  3. 保存用户设置文件.
  1. Open Visual Studio Code User Settings (PreferencesUser Settings). This will open two side-by-side documents.
  2. Add a new "workbench.editor.showTabs": false, entry (if this is the last entry, omit the trailing comma).
  3. Save the User Settings file.

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

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