Open Tragetaschen opened 2 years ago
Lets get an understanding here if this is a Razor compiler issue
Thanks for the report @Tragetaschen!
This is a RazorCompiler issue. What coloration we DO get is coming from TextMate (which get's lost on the last word for some reason, but that's not important). The RazorCompiler reads //
onward as UnclassifiedTextLiteral
instead of as a CSharpStatementLiteral
like it does for the IEnumerable<int>
and enumerable
words
I think the RazorCompiler should either:
@**@
today:
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.
Describe the bug: I try to add a comment at the end of an
@inject
line.Version used: VS2022 17.2 Preview 1
To reproduce:
The
@**@
comment syntax is not available here while the C# syntax isExpected behavior: Everything after the double slash should be classified/colored as comment
Actual behavior: The last word (
here
) is not colored.