zed
zed copied to clipboard
Workspace project order is not preserved
Check for existing issues
- [X] Completed
Describe the bug / provide steps to reproduce it
When adding multiple project folders to a workspace they are added to the bottom of the list, but on workspace restart they are automatically organised alphabetically.
This is illogical to me and I'd like to see the order of projects in the workspace preserved, especially since I'd also like to be able to manually reorder them, like in other IDEs.
Environment
Zed: v0.132.2 (Zed Preview) OS: macOS 14.4.1 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.
No response
I forgot to report this before, thanks for doing this!
Closed by https://github.com/zed-industries/zed/pull/11504 , manual worktree roots organization comes with Zed 0.138
Hi there, I’m encountering this issue on 0.149.6. The behaviour is inconsistent and I get a different order each time I start Zed. How can I help reproduce this issue?
Edit: It appears I only get two different orderings after each restart: one time my custom ordering, then what appears to be alphabetical, then mine again, etc.
So I've tested this over and over to be as sure as I can, but it looks like workspaces from before the more recent fixes have this issue. I recreated a workspace I saw this issue with and the issue is gone now. Not an ideal fix but it seems fine with new workspaces.
Ok, I did recreate my workspace (on 0.151.2). The issue is still present. By the way, just closing the window and opening a new window is sufficient to reproduce the A/B sorting.
Also, manually sorted directories seem to keep their relative ordering (but not in the right place).