Closed vsfeedback closed 2 years ago
Issue is best illustrated in this screenshot:
Some important things to note:
kendo-
tag helpers that appear in completionkendo-button
is missingkendo-button
is a known tag helper, as indicated by the colour of the tag shown at bottom of the pictureThe missing tag helpers are being filtered out here: https://github.com/dotnet/razor-tooling/blob/main/src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/LanguageServerTagHelperCompletionService.cs#L213
In this case kendo-button
has a TagOutputHint
of button
but that doesn't exist in elementCompletions
so we filter it out. This also repros if I turn off single-server completion, so not sure when this regressed, but as is the code doesn't really make sense to me. elementCompletions
is empty when we enter the method, so the only thing in it is tags we've added to the completion list, and we only add tags that don't have an output hint.
My reverse-engineered guess is that this used to work by seeding the collection with completion from the Html language server, and we're essentially saying "if Html said that button
was valid here, then we'll allow kendo-button
to be valid here".
My guess was wrong, this was regressed by this commit: https://github.com/dotnet/razor-tooling/commit/d273c6cd4cad4d51306abd8d44bb9575d063d69d
This issue has been moved from a ticket on Developer Community.
Bug report: When typing " "kendo-button" and "kendo-buttongroup" are not displayed in the suggestion list;
Expected behavior: The Intellisense should recognize all available Telerik UI for ASP.NET Core TagHelpers, their attributes, and nested tags.
Actual behavior: The Intellisense does not recognize all available Telerik UI for ASP.NET Core TagHelpers, their attributes, and nested tags.
Original Comments
Feedback Bot on 20/05/2022, 00:50 PM:
(private comment, text removed)
Feedback Bot on 20/05/2022, 06:35 PM:
(private comment, text removed)
Original Solutions
(no solutions)