Skip to content
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

Fix sorting in command palette search hits #4994

Merged
merged 7 commits into from
Sep 16, 2024
Merged

Conversation

darrenburns
Copy link
Member

@darrenburns darrenburns commented Sep 12, 2024

Fixes #4927.

This will only sort search hits by their match score, and do no sorting for discovery hits.

Discovery hits are left unsorted as we decided to leave that up to the end user - they may wish the most frequent commands to appear at the top for example.

@darrenburns darrenburns marked this pull request as ready for review September 12, 2024 14:14
@willmcgugan willmcgugan merged commit 8e6de4c into main Sep 16, 2024
20 checks passed
@willmcgugan willmcgugan deleted the cmd-palette-sort-fix branch September 16, 2024 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add sorting to command palette
2 participants