Skip to content

Autocompletion prioritizes more distant entry #73337

Open
@miloush

Description

@miloush

Version Used: 17.10.0 Preview 6.0

Steps to Reproduce:

class Program
{
    class MyClass { }
    static void Main()
    {
        MyClass myClass;
        mycl|
    }
}

Expected Behavior:
myClass be preselected, it differs in only one letter casing. (I would also expect the first letter to be more important when ambiguous.)

Actual Behavior:
Once you type c, the preselection changes to MyClass, although it differs in two letters:
image
Even if the current scoring makes them equal, that should not be enough to change the existing preselection.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions