Open AndersMad opened 2 years ago
What about the C# code in the templates that is part of the template itself (not the output)? Edit, yep it does.
I was looking at https://marketplace.visualstudio.com/items?itemName=DevartSoftware.DevartT4EditorforVisualStudio however for me it does not work because I only use VS2022 on my old laptop because it cant run VS2019 or older anymore.
IMHO, this makes the templates a lot less readable. I wouldn't want to do it without a background color (#2) to separate the template code from the output code.
Also note: It seems the and keyword does not get highlighted that comes from pattern matching in the c# syntax section itself.
Cool thanks! Would it be possible to highlight the "text" part as C#?
Maybe via/if
<#@ output extension=".cs"#>
or just always as I spose 99% is generating just that.