Skip to content

[LSP] Filtering completion items for methods also filters delegates #60755

@DoctorKrolic

Description

@DoctorKrolic

Version used:
VS 2022 v17.2 Preview 3

To reproduce:

  1. Invoke completions in .razor file
  2. Click on method icon to filter for methods

Expected behavior:
I see only available methods

Actual behavior:
FiHJJPhi14
Note: there are also methods in this list. However, amount of delegates is larger, so methods items need some scroll to be seen

Additional context:
In C# the behaviour is expected:
HXCbJP1N0y

And also in C# there are different categories for methods and delegates:
ef6aNSkxlW

Also note inconsistency in UI: in C# there are more categories in general, they are sorted differently, and there is a green "plus" icon for showing advanced members, I believe. And when I select some category in C# all other icons fade out, while in razor they do not.

The behaviour of razor should fully match the behaviour of C# here IMO

Metadata

Metadata

Assignees

Labels

Area-IDEBugLSPissues related to the roslyn language server protocol implementation

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions