olegsych / T4Toolbox

http://olegsych.github.io/T4Toolbox
MIT License
257 stars 111 forks source link

Should it colorize .t4 files also? #16

Open rpokrovskij opened 9 years ago

rpokrovskij commented 9 years ago

Hi I have found that T4toobox doesn't colorize templates saved as .t4 files (that I use in MVC project for scaffolding ).

olegsych commented 9 years ago

That's a good idea, @rpokrovskij. :+1: Thanks for submitting it.

I think this only requires exporting an additional FileExtensionToContentTypeDefinition to associate .t4 extension with the TextTemplate content type in the TemplateContentType.cs.

ghost commented 9 years ago

Agree: Good idea.

tom-englert commented 8 years ago

Yes, id definitely should! Any ideas when this will be added? Or are you waiting for someone to provide a PR?

ghost commented 7 years ago

Adding my 👍 for this feature. Having a T4 script that takes 5-15 seconds to run means that you probably want to run it on demand, which means switching to a .tt / .t4 include-file approach to managing code. And without color coding available for the .t4 file, you're basically coding in Notepad again, which is no fun.