-
Notifications
You must be signed in to change notification settings - Fork 38.2k
Description
- VSCode Version: 1.28.2
- OS Version: macOS 10.13.5
Fuzzy messy (#34088) search gives wrong highlights and inconsistent rankings when the quickpick entries start with some whitespace characters.
In the following GIF I'll be making two searches, in the first one the entries start with whitespace characters, in the second one they don't, there are some issues:
-
in the first search the wrong characters are highlighted. Notice also how removing the hyphen in
vscode-todocauses the highlighted characters to go fromvscode-todotovscandode-for thevscode-todo-plusentry, this isn't happening if the entries don't start with whitespace characters. -
In the second search you can see how removing the hyphen from
vscode-todoleads to different rankings. And that hyphens obviously shouldn't matter since all entries have it in the same exact position.
IMHO the root cause of this is that for some reason proper fuzzy search is still not available everywhere, instead it looks like there are lots of special cases for supposedly improving the ranking. Shouldn't this be fixed sooner rather than later?
