razor icon indicating copy to clipboard operation
razor copied to clipboard

Invoking completions in the middle of tag helper attribute results in empty completions window

Open DoctorKrolic opened this issue 2 years ago • 2 comments

Describe the bug: In any other context, e.g. middle of html attribute, or middle of C# keyword or whatever else, when no completions are available completion window doesn't appear at all. So I think, it will be nice to not show it in razor context as well for feature parity reasons

Version used: VS 2022 v17.3 Preview 2

To reproduce: Manually invoke completions in the middle of tag helper attribute (ctrl + space)

Expected behavior: No completion window appears

Actual behavior: Completion window appears but says "No completions available"

Demo: devenv_XhZjVPtOyr This is non-english VS localization, but you got the idea

DoctorKrolic avatar Jul 12 '22 14:07 DoctorKrolic

Now that we have single server completion this is possible.

ryanbrandenburg avatar Jul 14 '22 21:07 ryanbrandenburg

When you complete this item verify that it also fixes https://github.com/dotnet/razor-tooling/issues/6578, and re-open that issue if it does not.

ryanbrandenburg avatar Jul 14 '22 21:07 ryanbrandenburg

This is fixed in 17.4 Preview

davidwengier avatar Sep 13 '22 07:09 davidwengier