zed
zed copied to clipboard
Remove folder from project does not persist its state
Check for existing issues
- [X] Completed
Describe the bug / provide steps to reproduce it
- Open Zed, File -> Add folder to project
- Right click the folder at side bar, click Remove from Project, make sure the folder is removed
- Quit Zed (Zed -> Quit)
- Reopen Zed, the removed folder appears again in the sidebar, which is NOT expected
Environment
Zed: v0.119.19 (Zed) OS: macOS 14.3.0 Memory: 64 GiB Architecture: x86_64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your ~/Library/Logs/Zed/Zed.log
file to this issue.
If you only need the most recent lines, you can run the zed: open log
command palette action to see the last 1000.
No response
Zed does not save any "workspace exclusions" yet, but it saves recent workspaces' information in the database, see https://github.com/zed-industries/zed/discussions/6703?notification_referrer_id=NT_kwDOACkO1bI5MjE0NzYyNjUwOjI2OTA3NzM¬ifications_query=repo%3Azed-industries%2Fzed+is%3Aunread#discussioncomment-8281516 for more details.
We need to store such exclusions in the database and query for every workspace loaded.
The expected behaviour seems to be the current one in the latest version of Zed. I'm going to close this issue as resolved, but be sure to let us know if you're still seeing the same behaviour so we can reopen the ticket.
Hey @Moshyfawn, what is the expected behaviour? That the user removes a project, restarts the app, and the project is still there?