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
But this is what I'm expecting when I open a new tab
If I got it right this must be your case: check here. You just need to set this in your configuration file
"workbench.editor.showTabs": false
I also think that in this question the exact opposite is being asked
Hope that some of these help
In VSCode, click Manage (is the gear shown at lower-left corner) > Settings > in the search bar on top type "showtabs" to get to the right menu > check-marked means tabs will show.
Seriously tired of finding such little hacks. Thank you very much. I don't understand why default setting is turned off? who on this earth do not want to see files in tabs?
@Atul On Mac, I found that accidentally pressing Ctrl + Cmd + W toggles this behavior and this was most likely what was hurting me as Ctrl + Cmd + Q is used to lock the screen. Maybe something similar is happening to you?