Question

I'm using Tangible's editor and (no offense guys) it sucks. Its one painful step above notepad. But its (afaik) the only game in town.

Does anybody have any tips/tricks on creating T4 templates in a non-painful way?

For instance, I'm thinking about creating a T4 Template that essentially turns a class defined in a solution into a template generator. DTE, look for code that is marked with this or that attribute, run this or that method, and drop the results into a file. At least I'd get legit intellisense out of the deal...

No correct solution

OTHER TIPS

Devart just released a free T4 Editor for 2k8 and 2010 on the Visual Studio gallery. Looks nice! First noticeable improvement is that the editor is fast compared to others. Look and feel is like a normal code editor. There is intellisense in the t4 blocks and in the t4 statement blocks (the intellisense feels a little kludgy, but its not too bad). And the editor works with the standard find/replace tool window. Altogether nice job. Devart!

(I am not associated with Devart in any way, and this is the first product of theirs I've used.)

You could try Clarius’ “Visual T4 Editor Community edition” http://www.visualt4.com/downloads.html

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top