Warm tip: This article is reproduced from serverfault.com, please click

VSCode showing only one file in the tab bar (can't open multiple files)

发布于 2018-02-02 19:40:00

I hit some shortcut and I can't find the setting the turn it off. But opening multiple files doesn't show different tabs.

Here's what I'm seeing

enter image description here

But this is what I'm expecting when I open a new tab

enter image description here

Questioner
Tolga E
Viewed
0
24.5k 2021-02-18 19:55:23

Check User interface / Tabs. You just need to add the following line in the configuration file.

"workbench.editor.showTabs": false

I also think that How do I disable tabs in Visual Studio Code? is asking the exact opposite of what you are asking.