Skip to content

Clear recent projects #6703

Closed Answered by SomeoneToIgnore
Southclaws asked this question in Q&A
Jan 25, 2024 · 2 comments · 5 replies
Discussion options

You must be logged in to vote

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 in workspace_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:

query! {
fn recent_workspaces() -> Result<Vec<(WorkspaceId, WorkspaceLocation)>> {
SELECT workspace_id, workspace_location
FROM w…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@Southclaws
Comment options

@NicoAdrian
Comment options

@Southclaws
Comment options

@ikurotime
Comment options

@SomeoneToIgnore
Comment options

Answer selected by Southclaws
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants