Open rpokrovskij opened 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.
Agree: Good idea.
Yes, id definitely should! Any ideas when this will be added? Or are you waiting for someone to provide a PR?
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.
Hi I have found that T4toobox doesn't colorize templates saved as .t4 files (that I use in MVC project for scaffolding ).