Revisit contiguous matches
See original GitHub issueI’ve added the “quotes” support in #131292 and am planning on it releasing in stable as “experimental” because I’m not fully convinced it’s the correct UI to do this. I want to try 2 other options:
- a toggle button. We have these all over the place in VS Code (like in search and the find widgets). I want to experiment having one of those toggles for toggling between fuzzy and non-fuzzy search. This means we could have a toggle button for other things.
- (maybe) a different Quick Access provider since that would allow the new syntax to be in the
?
menu.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:7
- Comments:21 (11 by maintainers)
Top Results From Across the Web
Everything you need to know about Regular Expressions
It matches any position that is not matched by \b . It matches every position between characters within white space and alphanumeric sequences....
Read more >Regex contiguous match - Stack Overflow
So my problem is that when the regex engine is replacing -ii-ii it only replaces the first occurence of those two consecutive matches....
Read more >Discovering Contiguous Sequential Patterns in Network ...
Keywords: map matching, trajectory pattern mining, closed contiguous ... The Space-Time Cube Revisited from a Geovisualization Per- spective.
Read more >Strolling Through the Match - AAFP
Set goals for your own professional development at the beginning of medical school and revisit those goals at least yearly. Throughout medical school,...
Read more >Understanding the Interview and Ranking Behaviors of ... - NCBI
Unmatched IMGs were more likely than matched IMGs to rank programs at which ... a finding supported by analysis of contiguous ranks ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Totally agree, I’ll try to replicate/identify those cases and if don’t find an already open issue to add comments, I’ll add create a new one with the details.
Just to complement my previous comment about comparisons with other tools I used before, I wasn’t saying Atom (with mixed results) had better results than VS Code. Only Sublime was better back then. On the other hand, also talking about other tools, I have Jetbrains Rider available in the company I’m working on, and I would say VS Code fuzzy search is way better. I see myself using VS Code instead quite often, because I feel it is much easier to search/navigate the source, congrats 👏 .
Thank you
Would be good to collect these cases, it is always useful to have a collection of less than ideal ranking so that we can understand why that is and if we make a fix see if our test cases are still good. Over the time, whenever I made changes to the scorer and ranking, I tried to write a test case for that scenario so that when we make changes we see what other cases fall apart (if any).
Btw, unfortunately there is not just 1 fuzzy ranking/scorer algorithm used, depending on what quick open you are talking about:
I think a first good step would be to align the various pickers to use the same fuzzy scoring, except maybe command palette: we try to preserve muscle memory of users and not break it. We put commands in alphabetic order when showing results to group commands that logically belong together close to each other. Some fuzzy ranker might break this muscle memory easily.