Open seangwright opened 4 weeks ago
@seangwright , the most recent pre-release is now 2.28.8. Are you seeing the same issue with your razor files?
@phil-allen-msft I am using the following version and still have the issue
C# DevKit: v1.6.2 (pre-release) C#: v2.29.11 (pre-release)
Describe the Issue
Razor syntax highlighting appears to be broken in the latest previews.
I installed the preview versions of C# Dev Kit and C# extensions, reloaded VS Code and opened a Razor file:
Specifically these statements/expressions:
@model MyApp.Web.Components.Widgets.LinkList.LinkListWidgetViewModel
@if (!string.IsNullOrWhiteSpace(Model.Label))
.ToString("N")
Using the stable versions doesn't cause these highlighting issues.
Steps To Reproduce
Expected Behavior
Razor syntax highlighting works correctly for any valid Razor code.
Environment Information
Editor
Extensions