Skip to content

Add a setting to disable fuzzy matching in quick open #99171

@akbyrd

Description

@akbyrd

Issue Type: Bug

The quick open panel recently changed and since then searching has become extremely problematic for me. It's way too aggressive with fuzzy searching and it returns results in unexpected orders.

Take this image:

image

There are a number of issues visible.

  • Results 4 - 13 should not appear before results 14 - 15. Results 14 - 15 contain an entire word match. It makes no sense to prioritize matches with letters randomly matched piecemeal in the middle of words.
  • Results 4 - 13 and 16 - 24 should not exist at all. These matches are based on completely random letters in the middle of words. This is not at all the common way to search for files and it adds a huge amount of noise. Of the results in the list, 5 out of 24 results actually make reasonable sense. Matching at the beginning of words for snake case, camel case, and paths makes sense, but not individual letters in the middle of words.

Here's another example:

image

  • Results 11 - 12 are clearly the best matches and should be at the top.
  • None of the other results make sense and should not exist.

Compare these two searches:

image

image

  • Notice that adding a letter, which should only be able to restrict the search further, adds an entirely new result. Adding t to the end of "mult" adds result 11.
  • Also notice that most of these results are double matching the same letters. In result 3 the l from "mul" and the l from "lifetime" are matching to the same letter in the result.

VS Code version: Code - Insiders 1.46.0-insider (2c1871d, 2020-06-01T10:34:11.096Z)
OS version: Windows_NT x64 10.0.18363

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestRequest for new features or functionalityquick-pickQuick-pick widget issues

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions