Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

StringMatch should boost matches with uppercase letters in query #3263

@njx

Description

@njx

I was using Quick Open to open "Package.js", and got a lot of higher-ranked hits for "package.json". This is probably not a common case, but it occurred to me that it might be a good idea (and relatively harmless to other use cases) if we give a score boost to an uppercase letter in the query string that matches an uppercase letter in the candidate string (vs. a lowercase letter in the candidate), since if you specifically typed it in uppercase in the query, you probably know it's uppercase in the name you want. (This would have the added bonus of giving an easy way to boost acronym/camel-case searches.)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions