question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Enable fuzzy matching for picker

See original GitHub issue

Have a quick pick control with these values ["hello", "hello_there"]

Type ht or hello_ -> hello_there will show up Type he_ -> no results

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:34
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
fabiospampinatocommented, Sep 29, 2017

@bpasero I think the “filtering” and “ranking” logic should be considered separately. It would be pretty easy to enable fuzzy filtering everywhere (ranking results naively on the order of appearance) while still having a custom ranking logic for file paths.

0reactions
gpealcommented, Dec 4, 2022

I recently switched from the IntelliJ world to VSCode and the fuzzy match algorithm of VSCode is slowly driving me insane. In addition to the cases here, one thing that IntelliJ gets really right is case sensitive matching of partial words and priority for local symbols.

Check out this example. I am trying to match externalReport which is defined on the line immediately above. ext correctly matches. Typing R should increase the weight of the already-top result but instead, it drops off the list entirely.

The result of this is that I frequently wind up with random variables and imports as a result of the correct result disappearing after I type more letters that should only increase its weight.

CleanShot 2022-12-02 at 16 52 34@2x (1) CleanShot 2022-12-02 at 16 52 30@2x (1)

You can see a similar result play out here: CleanShot 2022-11-30 at 13 44 37@2x (1) vs WebStorm: CleanShot 2022-11-30 at 13 45 20@2x (1)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fuzzy Match Lookup in Power Query - YouTube
0:00 Intro ; 0:51 Review Example ; 1:49 Add Tables to Power Query ; 2:20 Merge Queries ; 2:41 Enable Fuzzy Match ......
Read more >
Create a fuzzy match (Power Query)
Select Use fuzzy matching to perform the merge, select Fuzzy matching options, and then select from the following options: Similarity Threshold Indicates how ......
Read more >
Fuzzy String Matching. Introduction to Fuzzywuzzy in Python
Fuzzy String Matching. Fuzzy String Matching, also known as Approximate String Matching, is the process of finding strings that approximately match a pattern....
Read more >
Fuzzy Matching in Power BI / Power Query - The Power User
Fuzzy Merge Options · Similarity threshold – this can be a number from 0 to 1, Which translates into how closely similar the...
Read more >
Fuzzy matching | Dialogflow ES
For a match to occur, you normally need to define an entity entry value and synonyms for each of these permutations. However, with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found