Recent folders/files: Remove non-existing directories on attempt to open #375
Labels
enhancement
New feature or request
file management
file watchers, handling of opened files and folders, etc
good first issue
good for newcomers
Feature
The recently opened list may contain directories that no longer exist. On attempt to open such directories from recent links, remove them from database.
The recently opened files/folders are shown as a list in welcome page and through the palette.
These leverage the list method here to generate lambda functions for each recent path.
Modify the lambda to call a custom function that will check if the path still exists. If it exists, proceed to open, otherwise, delete the path from db and return.
The text was updated successfully, but these errors were encountered: