"Recently Opened" CleanerThis extension allows you to clean up the "Recently Opened" list in VS Code. IntroThe "File: Open Recent" command is a handy feature provided by VS Code. It allows to open recently used workspaces and files through a dropdown menu right in the editor. Unfortunately, it is not quite flawless. See, every workspace listed in the dropdown is associated with a particular path on local disk. That's fine as long as workspaces are not moved or deleted. But this happens a lot in practice. Maybe some of the workspaces opened were only temporary to begin with. Or maybe they were created in the wrong location. Either way, over time, the list of recently opened workspaces will just grow and be filled with useless entries. To remediate this issue, this extension provides a simple command that cleans the list. To be more precise, the command goes through each workspace in the list and checks if the workspace's path is still valid. If that's not the case that entry will be removed form the list. FeaturesClean Recently Opened ListCurrently, the extension comes with one command: Additionally, the the extension can run this command automatically once vs code is done starting up. The command will run without user interaction, except to report success or failure. This behaviour is turned off by default and can be activated in the settings. Bugs & WishesFeature RequestsI'm planning on improving the UX of the existing command (e.g., give feedback on the process or report errors). I might also add a couple of options like automatically triggering the command on application start, if desired. If there’s something that would particularly help you, drop and issue on Github! IssuesI plan on making this a bug-free place. But hey, they're tricky to get rid of. If you find any, drop and issue on Github! :) Acknowledgements
DevelopmentRun the extension in VS CodeLaunch debug environment (default Run tests
|