zed icon indicating copy to clipboard operation
zed copied to clipboard

Support different sorting for project pane

Open reesmanp opened this issue 2 years ago • 2 comments

Check for existing issues

  • [X] Completed

Describe the feature

Currently, the project pane sorts everything alphabetically however I am coming from Jetbrains land where they have directories first then files and then things are sorted alphabetically. Having this as a settings option would be ideal.

If applicable, add mockups / screenshots to help present your vision of the feature

Screenshot 2024-02-22 at 9 42 25 AM

reesmanp avatar Feb 22 '24 17:02 reesmanp

https://github.com/zed-industries/zed/blob/991c9ec441711a4c0b10ce595f3025f430123800/crates/project_panel/src/project_panel.rs#L1171-L1195

Here's the sorting part, one can add another setting toggle and do it differently.

SomeoneToIgnore avatar Feb 22 '24 19:02 SomeoneToIgnore

started working on this one here. Will comment here and submit PR once complete

crbellis avatar Feb 25 '24 08:02 crbellis

I think this is a duplicate of:

  • https://github.com/zed-industries/zed/issues/4533

So Im going to close this one out. @crbellis, can you reference the older issue in your PR, if you get to that point?

JosephTLyons avatar Feb 26 '24 22:02 JosephTLyons