razor
razor copied to clipboard
Numbers are not colorized properly in C# context in razor
Version used: VS 2022 v17.4 Preview 3
To reproduce:
- Create blazor server app
- Go to
Counter.razor - In
IncrementCountaddvar a = 10000; - Observe colorization of
10000
Expected behavior:
Colorization of 10000 matches colorization of numbers in C# files
Actual behavior:
It does not. In C# files numbers are colorized with slight yellow color (dark VS theme):
... while in razor file in C# context they are just white:
