-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VS and VS Code Razor Highlighting false negatives #4332
Comments
@mikesigs thanks for contacting us. @NTaylorMullen @ryanbrandenburg can you take a look? |
@mikesigs thanks for the report! We'll be sure to take a peak. Until we can get VSCode working again for you would you be open to trying Visual Studio 2022 Preview release (assuming you're on windows at least)? Asking because it's free and the issue does not reproduce there. |
(Did some digging and turns out it was removed intentionally with the new tracking issue being #4323.) |
Ah not necessarily "intentionally" it's just that in order to make this scenario work for TextMate we'd need to hardcode the understanding of I think our best case route for this would be to ensure TextMate could recover gracefully to ensure that semantic colorization (when we're able to bring it to VSCode) can change colors without destroying the remainder of the TextMate understanding |
When we fix this lets be sure to check that it fixes VS's behavior as well. |
Any updates on this issue? |
This should be fixed via #9336 |
I am getting started with Blazor this weekend and I'm finding the Razor highlighting in VS Code to be really bad. It's difficult to work on code when your editor is telling you something is wrong, but the compiler is telling you it's right.
Here are a few examples that all compile and run properly, but show a false positive error with RED highlighting:
Inline Ternary Expression
Inline Lambda Expression
It formats and runs properly without the quotes.
Quoted Handler Function
Again, this formats and runs properly without the quotes.
The text was updated successfully, but these errors were encountered: