Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Recently Opened SweeperNew to Visual Studio Code? Get it now.
Recently Opened Sweeper

Recently Opened Sweeper

Crend King

|
40 installs
| (0) | Free
Sweep recently opened entries
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

This extension removes the recently opened entries that no longer valid. Surprisingly such basic functionality is not yet provided out-of-box.

It specifically only targets local file-system entries. Other entry types such as "Virtual Workspace" and "SSH Remote" are ignored.

A new command "Sweep non-existent recently opened entries" is added, which is also exexcuted automatically upon startup.

This extension can be configured to remove excess entries. Note that the VSCode menu is hardcoded to only show the first 10 entries. The others are accessed through the "More..." button.

Notes about the fork

Forked from vsc-recently-opened-cleaner. Originally deviates in the following aspects:

  1. The original only operates on the workspaces and folders. This extension works on file entries as well.
  2. The original provides the setting to execute the command at startup, and defaults to OFF. This extension makes the setting default to ON as an opinionated choice.

Attribution

Extension icon: Housework icons created by Freepik - Flaticon

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