Skip to content

Completion builder prefers regular completions over built ones and activates them in lambda parameters #81085

@Peter-Juhasz

Description

@Peter-Juhasz

VS 17.11.0 P2.1

Completion session controller should select the built completion when naming variables (in this case lambda expression parameter name), instead of matching the existing symbols or regular completions provided.

This makes writing lambda expressions quite frustrating, because every time it completes the name I try to assign to a completion from the list.

Rogzites.2024-07-06.225221.mp4
@code {
    protected override void OnInitialized()
    {
        int[] numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
        var even = numbers.Where(n$$);
        base.OnInitialized();
    }
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions