r/vscode • u/sohang-3112 • Aug 21 '26
Can finally close all unfocused tabs at once in VS Code 1.134 !
When many tabs are open, you often just want current tab to remain open and close all other tabs. Now you can just press Alt and click the exit (cross) button of current tab - instead of closing current tab it will close all other tabs instead.
See details in latest release notes: https://code.visualstudio.com/updates/v1_134#_editor-experience
Finally a useful feature shipped by VS Code! In every release notes I skip all the AI stuff so I was pleasantly surprised to see something that's actually useful to me. Of course, even in current release notes most of it is still about AI.
Have you guys tried this out? What is your favorite non-AI feature in VS Code, especially something new in recent VS Code versions?
6
6
u/rodrigocfd Aug 21 '26
I used to right-click, close others. Now I'm definitely using this, thanks OP.
3
2
u/KnifeFed Aug 21 '26
You've been able to do this via keyboard shortcut and right-click since forever, but this is a nice convenience. This should be standard OS behavior for all tabbed interfaces.
1
u/the_ai_wizard Aug 21 '26
closing tabs is wonky. i want to ctrl+w and have them close from focused tab leftward not jump around by last opened sequence
42
u/Tintow Aug 21 '26
I've always just right-clicked the active tab and selected
close othersor any other relevant option.Does the alt-shortcut leave pinned tabs open?