次の方法で共有


Template Code Generation built-in to Visual Studio and Clarius' T4 Editor

One of the big deals for us with Visual Studio 2008 is the fact that our runtimes are in the box.

A key thing that this means is that every Visual Studio user now has our powerful T4 text templating engine installed and can incorporate code generation into their development process.  That's right - Visual Studio now has code-gen built-in baby. Oh yeah. (See - the USA lingo is catching already)

That means you can add code gen to any Visual Studio solution, whether it has anything to do with Visual Studio eXtensibility or DSL Tools or not - it's just there.

However, as with most good things, there's a slight catch.  We didn't have time to get an editing and development experience for T4 templates into the product.

Happily, our friends over at Clarius have been working away and come up a spiffy editor that you can add on.  A beta is currently available for Visual Studio 2005 and Visual Studio 2008 Beta2.  Hopefully they'll update the 2008 version for RTM shortly (see I'm nagging again ;-) )

Go download it at https://www.t4editor.net/

As folks start to notice this new Visual Studio 2008 feature, I'll be fascinated to see where it starts to crop up.

Technorati Tags: T4,Text Templating,Visual Studio 2008,Code Generation,T4Editor,Clarius

Comments

  • Anonymous
    December 27, 2007
    Hi! I'm a computer engineering student, and I'm currently working on my final project. My project consists on the study of the software factories developing experience, and for that reason, I've developed a bunch of T4s using the excellent Clarius T4Editor. I've recently noticed that the editor is a time limited tool. ¿Are you planning on releasing some kind of editor for T4s in the short term? Cause it's very hard to go back to the black and white T4s after experiencing some syntax coloring. I've already posted a question at a Clarius blog, but I got no answer. Thanks a lot, since your posts on T4 have been very useful.

  • Anonymous
    December 31, 2007
    I'm sure it is hard to go back.  I don't have any more news from Clarius - I'm sure they're enjoying their Christmas holidays too!  Hopefully they'll have an update for us in the new year. Victor?

  • Anonymous
    June 04, 2009
        Hardcoding is bad. This is known fact. In spite of that all of us are practicing this in