Open bricelam opened 2 years ago
I tried to do this this with the current architecture, but I can't figure out how to blend multiple classifications. I just ended up with a gray background and no C# highlighting. This may be a limitation of the TextMate support.
Personally, I think the best way to view templates is with a background color to represent blocks of template logic. Here's a screenshot from the T4 Support extension for VS Code which does this.
Interestingly, the Razor editor is moving away from this in VS 2022 based on customer research. 🤷