Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>Close Tabs - Unchanged, Diff, Left and more!New to Visual Studio Code? Get it now.
Close Tabs - Unchanged, Diff, Left and more!

Close Tabs - Unchanged, Diff, Left and more!

Leonardo Montini

leonardomontini.dev
|
178 installs
| (0) | Free
More tabs closing options (close to the left, close unchanged, close diff editors and more!)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Close Tabs - Unchanged, Diff, Left and more!

More options to close open tabs, fully configurable.

demo

Features

Add the following options to the tab context menu:

  • Close all open tabs without changes (from the git working tree).
  • Close all Diff Editors (Working Tree tabs).
  • Close all tabs to the left.
  • Fine-grained settings to toggle which buttons are shown in the tab context menu.
  • Enable/disable the extension for pinned tabs via settings.

Extension Settings

"closeTabs.allowClosePinnedTabs": {
    "type": "boolean",
    "default": false,
    "description": "Allow closing pinned tabs."
},
"closeTabs.showCloseUnchanged": {
    "type": "boolean",
    "default": true,
    "description": "Show the \"Close Unchanged\" button."
},
"closeTabs.showCloseDiffEditors": {
    "type": "boolean",
    "default": true,
    "description": "Show the \"Close Diff Editors\" button."
},
"closeTabs.showCloseToTheLeft": {
    "type": "boolean",
    "default": true,
    "description": "Show the \"Close to the Left\" button."
}

Coming soon:

  • Suggest/Request your feature by opening an issue!

Release Notes

1.1.2

  • Enable/disable the extension for pinned tabs via settings.

1.1.1

  • Add empty activationEvents to fix a warning in the marketplace since vscode 1.77.

1.1.0

  • Add settings to toggle which buttons are shown in the tab context menu.
  • Add icon to the extension! :)

1.0.0

It does what the initial plan was about!

Add the following options to the tab context menu:

  • Close all open tabs without changes (from the git working tree).
  • Close all Diff Editors (Working Tree tabs).
  • Close all tabs to the left.

0.0.1

Just trying to make it work, somehow.

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft