Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autocompletion prioritizes more distant entry #73337

Open
miloush opened this issue May 4, 2024 · 0 comments
Open

Autocompletion prioritizes more distant entry #73337

miloush opened this issue May 4, 2024 · 0 comments
Labels
Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead

Comments

@miloush
Copy link

miloush commented May 4, 2024

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.

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

No branches or pull requests

1 participant