razor icon indicating copy to clipboard operation
razor copied to clipboard

MVC Razor: Accepting an auto complete that requires new a new using generates garbage

Open StringEpsilon opened this issue 1 year ago • 0 comments

Given:

image

Then hit tab:

image

This happens on pretty much any given .cshtml file with any code completion that would add a using in regular C#.

Notably: This can also overwrite existing code / markup in that file.

Found while testing the latest preview version of https://github.com/dotnet/vscode-csharp (v2.26.13 (pre-release)). I sadly do not know which version of the razor tooling that corresponds to or how to find out.

StringEpsilon avatar Apr 29 '24 23:04 StringEpsilon