Horst Walter
Horst Walter

Reputation: 14071

VS2010 - Assign html code formatting to T4 (.tt) file

I am having a T4 text template (.tt) in VS2010 - mainly used to generate HTML code (basically some includes and JavaScript).

Is it possible to assign the HTML code formatting (colors, etc) to that tt file.

Is situation (the T4):

How the tt file is formatted

Want have:

Can i get this formatting on a .tt file

-- Update as of answer Marcio Barcellos --

Formatting with proposed AddOn:

Formatting with AddOn

Upvotes: 2

Views: 435

Answers (1)

Marcio Barcellos
Marcio Barcellos

Reputation: 51

You can add an extension to visual studio and get the result you want

http://visualstudiogallery.msdn.microsoft.com/40a887aa-f3be-40ec-a85d-37044b239591

Upvotes: 2

Related Questions