-
Automatically archives tabs that have not been used for a defined length of time — 12 hours, by default.
-
Only archives tabs if the group contains more than a defined number of tabs — 5, by default.
-
Doesn't archive tabs that have unsaved changes, tabs that are pinned, and the active tab of each group.
The age of the opened tabs is persisted when the workspace is closed, and resumes incrementing when the workspace is reopened.
In addition to automatically archiving unused tabs, the extension provides the following commands.
Archive all tabs except the 5 (by default) most recently used ones, in each group. (It also doesn't archive tabs with changes, pinned tabs, and the active one.)
List the tabs that have been automatically archived since the workspace was opened. Use it to adjust the tabarchive.numberOfTabsInGroup and tabarchive.tabAgeForAutomaticArchiving settings if you find that tabs are archived more/less often than you wish.
Clear all archived tabs from memory and storage. This is useful when you want to start fresh and remove all previously archived tabs.
Close all diff tabs in all tab groups. This is useful when you want to quickly clean up after reviewing multiple file changes.
Close all tabs that reference files that no longer exist on disk. This is useful when you want to clean up tabs for files that have been deleted outside of VS Code.
For detailed information about all available settings, please see the documentation.
It's live on VSCode Extension Market and Open-VSX.
