razor
razor copied to clipboard
MVC Razor: Accepting an auto complete that requires new a new using generates garbage
Given:
Then hit tab:
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.