Clear recent projects #6703
-
I accidentally opened my drive's root as a "project" and now every time I open Zed it opens Is there a way to clear the recent projects list? I can't find anything in the zed/ config folder. Is it stored in some system wide config registry on mac/windows? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Have the same problem. Even when clicking on "Remove from project", opening Zed again still opens it |
Beta Was this translation helpful? Give feedback.
-
There's no user-facing way for that yet. Whatever survives between Zed restarts, is stored in the Those are blobs, though but some GUI might help with browsing it (notice the right side): so you can alter entries there (or remove the whole db file), or you can submit a PR to fix those. zed/crates/workspace/src/persistence.rs Lines 423 to 430 in 8263da0 delete_stale_workspace method for removing a workspace by ID, so all that's needed — some gui adjustments in the recent_projects.rs that call this method.
|
Beta Was this translation helpful? Give feedback.
There's no user-facing way for that yet.
Whatever survives between Zed restarts, is stored in the
~/Library/Application Support/Zed/db/${INSTANCE_NAME}/db.sqlite
file.Specifically, this is stored in
workspaces
, paths are inworkspace_location
.Those are blobs, though but some GUI might help with browsing it (notice the right side):
so you can alter entries there (or remove the whole db file), or you can submit a PR to fix those.
We get the values from db using this:
zed/crates/workspace/src/persistence.rs
Lines 423 to 430 in 8263da0