Skip to content

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

@StringEpsilon

Description

@StringEpsilon

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions