T4 Toolbox for Visual Studio 2013

Free

Extends Text Templates with syntax colorization, error reporting, outlining, QuickInfo tooltips, statement completion, generation of multiple output files with source control integration, support for template parameters in Solution Explorer properties and more.

(5) Review
Visual Studio
2013
Download (16,837)
11/10/2013
12.10.0.0
View
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Description
Reviews (5)
Q and A (7)
Sign in to write a review
Sort by:

by Adam Plocher | October 17 2014

Shame, no support for Dark Theme in VS2013 (and presumably 2012). Unusable for me.

by k_matsui_ | April 21 2014

by Jimmy Main | January 16 2014

by Peter Kuhn | November 12 2013

Thanks for the update!

by Massimiliano.Donini | November 12 2013

The best syntax highlight extension for T4.

Sign in to start a discussion


  • Will not install on .net 4.6
    1 Posts | Last post Sat 5:24 PM
    • It seems this extension requires .net 4.5 because it will not instatll om my setup where I have .net 4.6. But I can not install .net 4.5 because 4.6 is installed.
      
      So how do I install this extension?
  • VS2013 Update 4 support?
    1 Posts | Last post December 10, 2014
    • I can't seem to install this with VS2013 Update 4? Installer says "This extension is not installable on any currently installed products."
      
      
      
      12/10/2014 2:29:14 PM - Found installed product - Microsoft Visual Studio 2010 Shell - Integrated Mode
      12/10/2014 2:29:14 PM - Found installed product - Microsoft Visual Studio 2012 Shell (Integrated)
      12/10/2014 2:29:14 PM - Found installed product - Microsoft Visual Studio Ultimate 2013
      12/10/2014 2:29:14 PM - Found installed product - Microsoft Visual Studio Premium 2013 
      12/10/2014 2:29:14 PM - Found installed product - Microsoft Visual Studio Professional 2013
      12/10/2014 2:29:14 PM - Found installed product - Microsoft Visual Studio 2013 Shell (Integrated)
      12/10/2014 2:29:14 PM - Found installed product - Microsoft Visual Studio Ultimate 2015 Preview
      12/10/2014 2:29:14 PM - Found installed product - Microsoft Visual Studio Premium 2015 Preview
      12/10/2014 2:29:14 PM - Found installed product - Microsoft Visual Studio Professional 2015 Preview
      12/10/2014 2:29:14 PM - Found installed product - Microsoft Visual Studio 2015 Preview Shell (Integrated)
      12/10/2014 2:29:14 PM - Found installed product - Global Location
      12/10/2014 2:29:14 PM - Found installed product - ssms
      12/10/2014 2:29:14 PM - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
         at VSIXInstaller.App.InitializeInstall()
         at System.Threading.Tasks.Task.InnerInvoke()
         at System.Threading.Tasks.Task.Execute()
      
  • Color Schemas
    3 Posts | Last post July 21, 2014
    • I am using a dark color schema.  I simply can't read template files in this schema with this extension.  Is there a way to change the color highlighting?
      
    • - did you ever figure out how to alter the syntax colors? I need the same solution.
    • Nevermind... stupid me... just find the Text Template color values under Fonts and Colors.
      
      -- ignore me
  • Settings not shown correctly in settings screen and tangible syntaxhighlighting trouble
    1 Posts | Last post May 01, 2014
    • Hi Oleg,
      
      Thanks for a great tool, we use it a lot and find it very useful.
      
      But we have two issues with it, that when I look back at the older versions of t4toolbox are in the product for a while now. It would be a great if you could fix it.
      
      The first issue that the t4 tool box still not works nicely with the tangible t4 syntax highlighting. For me on a daily and solution basis I need to close my solution, disable t4toolbox, restart VS, enable t4toolbox restart VS, open solution to get the syntax highlighting to work. 
      
      The second issue is that the setting screen does not show the correct values for the options when looking at the registry the setting has been set correctly but the settings screen just shows the default values ( https://t4toolbox.codeplex.com/workitem/24427 ) I think this might relate to issue 1
      
      I use VS2013 update 1 with resharper on a 64 bit windows 7 laptop.
  • source?
    1 Posts | Last post January 16, 2014
    • Hi Oleg,
      
      The original T4 toolbox was open source, and located at codeplex.
      Are you considering updating the source with this new version, or better still adding this version to github?
      
      Will it remain closed?
      I am really hoping that you open it up again... Either way it's a useful plugin.
  • .t4 file extension support for code templates
    1 Posts | Last post November 19, 2013
    • This extension may serve a different purpose then what I have in mind, but upon installing I expected to be able to edit *.t4 files with syntax highlighting. Am I missing something? Are there plans to support *.cs.t4 files?
      
      Thanks,
      Jeremy
  • Compiling transformation
    2 Posts | Last post November 16, 2013
    • Hello,
      
      In previous version of T4Toolbox (v10) I used custom transformation property and access it as follow:
      TransformationContext.Transformation.MyProperty
      
      Now the TransformationContext now implements the Singleton pattern, so I should be able to access it as follow
      TransformationContext.Current.Transformation.MyProperty
      
      but now received the following error:
      
      Compiling transformation: 'Microsoft.VisualStudio.TextTemplating.TextTransformation' does not contain a definition for 'MyProperty' and no extension method 'MyProperty' accepting a first argument of type 'Microsoft.VisualStudio.TextTemplating.TextTransformation' could be found (are you missing a using directive or an assembly reference?)	
      
      Thanks,
      NEMAK
      
      
      
    • Nemak, You're right; this was lost in the upgrade from v10 to v11. As an alternative, you can use the Session property. It is a dictionary shared by the transformation (script) and all of the templates. In other words, in your main transformation you can do this:
      
      this.Session["MyProperty"] = myValue;
      
      and in any of the templates it creates you will be able to access this value the same way:
      
      var myValue = this.Session["MyProperty"];
      
      Hope this helps,
      Oleg