1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 07:08:01 +00:00

Add Turn Off Display Of Tabs For Files as a VS Code TIL

This commit is contained in:
jbranchaud
2024-03-28 20:01:32 -05:00
parent 87d116a4cd
commit 63a57c6bdd
2 changed files with 20 additions and 1 deletions

View File

@@ -10,7 +10,7 @@ pairing with smart people at Hashrocket.
For a steady stream of TILs, [sign up for my newsletter](https://crafty-builder-6996.ck.page/e169c61186).
_1403 TILs and counting..._
_1404 TILs and counting..._
---
@@ -1612,6 +1612,7 @@ _1403 TILs and counting..._
- [Pop Open The Quick Fix Window](vscode/pop-open-the-quick-fix-window.md)
- [Step Through Project-Wide Search Results](vscode/step-through-project-wide-search-results.md)
- [Toggle Between Terminals](vscode/toggle-between-terminals.md)
- [Turn Off Display Of Tabs For Files](vscode/turn-off-display-of-tabs-for-files.md)
### Webpack

View File

@@ -0,0 +1,18 @@
# Turn Off Display Of Tabs For Files
Each time a file is opened in VS Code, it appears as one of many toward the top
of the window right above the text editor area. It shows the name of the file
and the 'dirty' status. Over time as more and more files are opened and edited,
the tabs accumulate and can only be viewed by horizontally scrolling left and
right.
There are other ways to navigate to files besides selecting tabs of already
opened files. So, if you'd like to reclaim some screen real estate and reduce
the visual clutter of the tabs, you can turn them off.
Hit `Cmd+Shift+P`, then search for and go to _Preferences: Open Settings (UI)_.
Search for _Show Tabs_ which will show up under _Workbench > Editor_.
The default is _Multiple_. You can switch it to _None_ to completely hide tabs.
You can also set it to _Single_ which will display file name and path for the
current file, but eliminate the clutter of all other tabs.