Friday, August 20, 2010

Visual T4 for Visual Studio 2010

It’s been a long time since our last post. I just wanted to let you know about the amazing progress we’ve been making on Visual T4 for VS2010. What’s new in short? A major overhaul to take full advantage of all the benefits of the brand new WPF-based core text editor as well as the new language services to provide the absolutely unique and long-time praised Intellisense integration.

We’ll go into the details on another post, but here’s a bunch of screenshots to get you excited, using the ADO.NET C# POCO Entity Generator templates.

Colors honor your favorite C# editor settings:

image
image

Tooltips as usual in C#:

image

Intellisense on APIs as usual in C#:

image

Parameter info as usual in C# code :)

image

Pretty good indenting!

image

Full support for VERY complex includes! (the EF one has 2200+ lines)

image

Full T4 directives intellisense with tooltips, as you’d expect:

image

Can add arbitrary assemblies an get their intellisense too:

image

Can build any LINQ query you fancy with full intellisense:

image

Use your favorite code snippets as usual in C#:

image

With even full anonymous types support:

image

And Intellisense of course:

image

A BIG kudos to the Visual T4 team for such an amazing integration into VS2010. We’ll be sharing the bits more broadly very soon. We’re beta testing it at this very moment.