zed
zed copied to clipboard
command palette entries should be sorted by recency not usage
Check for existing issues
- [X] Completed
Describe the feature
This would match VSCode behavior, not sure about other editors. I understand there's no behavior that would satisfy everybody, but this would at least help with a common use case: running the same command repeatedly.
I guess one option would be to keep the usage count ordering only when filtering, if https://github.com/zed-industries/zed/issues/8106 is fixed.
If applicable, add mockups / screenshots to help present your vision of the feature
No response
LRU or MRU ?
As commented on the description of the use case, sorting the most recently used commands first seems sensible (I think naming it LRU/MRU can be confusing for a list that doesn't need to have a limited number of entries).