Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Only the Dirty (Know What Them Tabs Feel Like Tonight)New to Visual Studio Code? Get it now.
Only the Dirty (Know What Them Tabs Feel Like Tonight)

Only the Dirty (Know What Them Tabs Feel Like Tonight)

Lemuel Cushing

|
3 installs
| (0) | Free
Close all non-dirty editor tabs, leaving only unsaved changes open
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Only the Dirty (Know What Them Tabs Feel Like Tonight)

Rid yourself of all clean tabs in one fell swoop

Closes all non-dirty editor tabs, leaving only unsaved changes open

Only The Dirty Logo

What's dirty?

That little dot next the tab name - means you've got unsaved changes. Them's the dirty ones, we keep em. The clean tabs go home.

Usage

Run "Close All Non-Dirty Tabs" from the Command Palette (Cmd/Ctrl + Shift + P).

Settings

  • onlyTheDirty.keepPinnedTabs (default: false): Keep pinned (non-preview) tabs open when closing non-dirty tabs.

Ad Usum Centurionis

Tabulas munda eunt domus Tabulae mundae domum eunt

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