-
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 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.
Can be one of two values:
everywhere-except-excluded
: the extension will automatically archive unused tabs in all workspaces, except the ones present in theExcluded
list;nowhere-except-included
: the extension will automatically archive unused tabs only in the workspaces present in theIncluded
list.
The default value is everywhere-except-excluded
.
Note: this way of activating tab auto-archiving allows you to do it on a per project/workspace basis, without relying on a project's
.vscode/settings.json
file, as this file is often committed and shared with collaborators.
This setting is only used when
tabarchive.activation
is equal toeverywhere-except-excluded
.
List of workspaces in which the extension will not automatically archive unused tabs.
To add a workspace to this list, use the command Tab Archive: Deactivate automatic archiving of unused tabs for this workspace
.
This setting is only used when
tabarchive.activation
is equal tonowhere-except-included
.
List of workspaces in which the extension will automatically archive unused tabs.
To add a workspace to this list, use the command Tab Archive: Activate automatic archiving of unused tabs for this workspace
.
Unused tabs will be archived only if the number of tabs in the group is greater than this number; enter 0
to archive all unused tabs.
The default value is 5
.
Number of hours after which an unused tab is automatically archived.
The default value is 12
.