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

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

Open
StringEpsilon opened this issue Apr 29, 2024 · 0 comments

Comments

@StringEpsilon
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants