Open karlvonl opened 2 years ago
Hmm, probably need to update the end
patterns in the comments
section of the C# grammar.
I really wish I could find a way to inject T4 into the C# grammar without having to modify it.
Hmm, I tried adding |(?=#>)
to the end patterns but it didn't seem to have any affect. I'll try digging into this again later.
I'm working with templates that contain end-of-line comments within template directives, like so:
<# } else { // not a collection #>
The template processor recognizes the closing
#>
tag as terminating the current template directive. But the T4Language extension seems to think that the closing#>
tag is part of the comment, so both the closing tag and subsequent lines in the file are not colored properly.