Description
(Related: #901)
Is it possible to refine the string matching algorithm? When I type "vscode", for example, hoping to get Visual Studio Code, the first hit is instead MuseScore, and another hit is XCode:
I find this counterintuitive because the string "MuseScore" doesn't have a v
or a d
; it seems like a poor match for "vscode". I tried playing with the fuzzyness
parameter, but if I make it either fuzzier or stricter, then Visual Studio Code isn't listed as a hit at all!
I'm guessing that the app is using some metric like the Levenshtein distance? If so, I wonder what would happen if there were less penalty for deleting letters from the app name? It could be a low (or zero) penalty for deleting lowercase letters, so that the important characters are the uppercase letters; this would let you type "vsc" to get Visual Studio Code. Currently:
In contrast, the search is extremely forgiving of typos:
In short, I would love to see a search bar where the score is reversed, i.e., unforgiving of typos, but tolerant of missing characters.