vscode-csharp icon indicating copy to clipboard operation
vscode-csharp copied to clipboard

Razor grammar missing some token/scopes and causing theme weirdness

Open timheuer opened this issue 4 months ago • 4 comments

@maddymontaquila cloned issue microsoft/vscode-dotnettools#2078 on 2025-06-10:

Describe the Issue

Image

The lambda is showing up as red with an underline, but it is working fine, and there are no errors in the Problems window or when I hover over it. Lightbulb just suggests "Wrap attribute"

Steps To Reproduce

Using an internal codebase - can share offline

Expected Behavior

No response

Environment Information

MacOS Insiders VS Code Previews of devkit (1.30.4) + C# (2.81.17)

Razor "Force Runtime Code Generation" "Use New Formatting Engine" are both turned on

timheuer avatar Jun 12 '25 20:06 timheuer