You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Modern UI abbreviates editor tabs instead of shrinking or line wrapping for tabSizing: "shrink" and wrapTabs: true #337476
Previously, with these settings, VS Code shrinked or wrapped the editor tabs if the space was not sufficient. The new modern UI seems to very much prefer to abbreviate the components (= filename, and the directory name if multiple files with same filename are open) of the editor tab label. The space has to be really narrow to force it into multiple lines.
Steps to Reproduce
Set the above settings (and have no other settings set).
Press Ctrl+N repeatedly exactly until the editor tab line is full (i.e., another editor tab would not fit in there without shrinking tabs or wrapping lines).
Press Ctrl+N one additional time.
Expected Behavior
The editor tabs shrink, cutting off the end, or wrap onto two lines.
Actual Behavior
The editor tabs are abbreviated, i.e., the Untitled-X titles with an ellipsis at the end (in this example case even making them indistinguishable as the number X is not visible anymore).
The effect is even more annoying if you have multiple files open with the same filename, as then both filename and directory name get abbreviated. You end up with an editor tab line with a lot of dots (...) in there. The old UI shows a lot more information in comparison.
Screenshots
Old UI
Tabs just fit in space (after step 2):
With one additional tab (after step 3):
When having multiple files open that have the same filename:
Modern UI
Tabs just fit in space (after step 2):
With one additional tab (after step 3):
When having multiple files open that have the same filename (many dots, little information):
Reacted by Aayush Chawla, Tymur Ziiatdinov, Matt Wade, Frédéric Massart, Snn1452, Pedro Ferreira, Matt Rardon, JulianJvn and rosyvs
Activity