Skip to content

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

Open
@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.

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions