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

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

Closed
DoctorKrolic opened this issue Apr 14, 2022 · 0 comments · Fixed by #61243
Closed

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

DoctorKrolic opened this issue Apr 14, 2022 · 0 comments · Fixed by #61243
Assignees
Labels
Area-IDE Bug LSP issues related to the roslyn language server protocol implementation
Milestone

Comments

@DoctorKrolic
Copy link
Contributor

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

@ghost ghost added the untriaged Issues and PRs which have not yet been triaged by a lead label Apr 14, 2022
@davidwengier davidwengier transferred this issue from dotnet/razor Apr 14, 2022
@davidwengier davidwengier changed the title Filtering completion items for methods also filters delegates [LSP] Filtering completion items for methods also filters delegates Apr 14, 2022
@jinujoseph jinujoseph added Bug LSP issues related to the roslyn language server protocol implementation and removed untriaged Issues and PRs which have not yet been triaged by a lead labels Apr 19, 2022
@jinujoseph jinujoseph added this to the 17.3 milestone Apr 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE Bug LSP issues related to the roslyn language server protocol implementation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants