-
Notifications
You must be signed in to change notification settings - Fork 29.9k
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
Command palette should rank results with closer search terms higher #14727
Comments
@bpasero For suggest I have implemented something similar to what @ramya-rao-a wants. It scores entries based on the search highlights, supports camel case and nearest match. We might want to consolidate, code is here: https://github.com/Microsoft/vscode/blob/master/src/vs/editor/contrib/suggest/common/completionModel.ts#L169 |
@jrieken maybe you can move this code to |
Related/duplicate: #1964 |
From @andy-ms
Also, open DefinitelyTyped and search for |
From #19757: this also affects users wanting to install extensions, and unfortunately does the exact opposite of what's expected: the first hit for |
Fuzzy Search in Cmd palette should rank results with closer search terms higher (fixes #14727)
|
@atombender no, this is limited to only command palette and the scoring function there is not tweaked beyond of what we have. I think what you ask for is in #14879 |
Ah, makes sense — although I'd expect/hope that both would be using the same underlying fuzzy-scoring code, and thus be fixed by the same fix. But I'll comment there. |
Note - I'm still seeing this issue ("Disable all installed extensions" is ordered first) in the latest 1.10.2. |
From @prashantv on October 18, 2016 19:56
See image:
I think a user is much more likely to want to run unit tests when they search for "Go Test" than "Generate unit tests". Is there any way to improve the search matching, or rename the option so running unit tests is preferred over generating unit tests?
Copied from original issue: microsoft/vscode-go#543
The text was updated successfully, but these errors were encountered: