bricelam / T4Language

Adds basic language support for .tt files to Visual Studio.
Other
37 stars 3 forks source link

Consider adding a background color to control blocks #2

Open bricelam opened 2 years ago

bricelam commented 2 years ago

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.

image

Interestingly, the Razor editor is moving away from this in VS 2022 based on customer research. 🤷

bricelam commented 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.