Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prioritize interesting files when sorting the file picker #7840

Closed
doy opened this issue Aug 5, 2023 · 1 comment
Closed

prioritize interesting files when sorting the file picker #7840

doy opened this issue Aug 5, 2023 · 1 comment
Labels
C-enhancement Category: Improvements

Comments

@doy
Copy link
Contributor

doy commented Aug 5, 2023

the file picker would be more useful if open buffers and git modified files were sorted at the top, since those are much more likely to be files i am trying to open.

@doy doy added the C-enhancement Category: Improvements label Aug 5, 2023
@pascalkuthe
Copy link
Member

I am not really a fan of messing with the sort order. Firstly this doesn't reallz work when streaming the file system transversal (see #7814) and picker items will always be sorted by fuzzy match score and length first and only in ase of ties (or if there is no pattern) will the sort order even matter so this doesn't have much impact in practice.

I think a better waz to solve this is:

@helix-editor helix-editor locked and limited conversation to collaborators Aug 5, 2023
@pascalkuthe pascalkuthe converted this issue into discussion #7841 Aug 5, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
C-enhancement Category: Improvements
Projects
None yet
Development

No branches or pull requests

2 participants