How do I disable tabs in Visual Studio Code?

后端 未结 3 2006
你的背包
你的背包 2021-02-06 21:21

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?

3条回答
  •  星月不相逢
    2021-02-06 21:54

    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. 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.

提交回复
热议问题