diff --git a/README.md b/README.md index dfc66d1..ac0cca2 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/vscode/turn-off-display-of-tabs-for-files.md b/vscode/turn-off-display-of-tabs-for-files.md new file mode 100644 index 0000000..3532f63 --- /dev/null +++ b/vscode/turn-off-display-of-tabs-for-files.md @@ -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.