Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Clear Working Tree Editor TabsNew to Visual Studio Code? Get it now.
Clear Working Tree Editor Tabs

Clear Working Tree Editor Tabs

Erik Slovák

|
1,011 installs
| (3) | Free
Closes all Working Tree and Index editor tabs opened by Source Control tab
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-clear-working-tree-tabs

Close all those annoying tabs that are left after committing!

Features

  • Command for closing all tabs (Working Tree, Index, etc.) created by Source Control extension built into VS Code.

Install

Either download vsix package from latest release or get it from marketplace.

NOTE: This extension might no longer be necessary

VS Code got a new command in 1.65.0 called Git: Close All Diff Editors and it is supposed to do what this extension was aiming to do. But since I'm having issues with it (if you run command after commiting everything, nothing happens), I will keep using and updating this extension.

image
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft