Skip to content

QuickOpen (Ctrl+P) search matching logic needs to be improved #33247

@kumarharsh

Description

@kumarharsh
  • VSCode Version: 1.16-insider
  • OS Version: Windows 10

If I have a file with path: ui/src/ui/Icons/index.js
and there are other files, such as: ui/src/utils/constants.js, etc...

image
after scrolling about 49 or so entries, I get the match I need:
image

Then, searching for ui/Icons puts the more relevant ui/src/ui/Icons path somewhere way down the list, not what I'd expect. I'd expect a matches with longer runs to be higher rated, no? It seems like this was (partially) fixed somewhere in previous builds because I always type these kind of path and stopped getting miffed with the results - they were not perfect, but they were passable, But lately I'm finding myself getting miffed again, so I think this bug is a regression?

Maybe possibly linked: #20546

Reproduces without extensions: Yes

Metadata

Metadata

Assignees

Labels

*duplicateIssue identified as a duplicate of another issue(s)

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions