Victor García Aprea

Go Back to
vga′s Latest post

Editing Text Template (T4) files: the Visual Studio/Notepad vs. SFT experience

If you have ever worked with GAX/GAT and/or the DSL Tools chances are that you had to look at existing templates and maybe customize them or create your own. Currently none of these two technologies offers you any remedies for the pain that is browsing and editing these templates with a “plain-text” experience.

So, let’s say you want to understand the serialization code in order to being able to introduce a few customizations of your own here and there. Try editing C:\Program Files\Visual Studio 2005 SDK\2006.09\VisualStudioIntegration\Tools\DSLTools\TextTemplates\Dsl\ with Visual Studio (or notepad for that matter, as you’re not going to tell the difference in this case), it’s “only” 3751 lines of NO syntax coloring, NO code completion, NO quick navigation, NO nothing.

Let’s take another large file, (living in the same folder as the file pointed out above). What changes in this case? It’s “only” 2469 lines in length, much shorter than the previous file, and we still get the NO nothing.

Ok, these are large files, not every text template file will be that large, granted. But can you still live with the “NO nothing” experience even for smaller files? I don’t think so, I know I can’t.

This is the reason why we have introduced a Text Template editor into SFT, for helping you today with your daily tasks in developing Software Factory projects.

Here is a single screenshot that should tease you enough to go download the bits:


You can also take a look at the Text Template Editor Quick Users Guide (lots of screenshots in there) and if you want to learn more about the technical side on how we implemented this feature you can check Jose’s blog who works on the SFT team.



  1. Hello.This article was extremely interesting, particularly because I was browsing for thoughts on this matter last Wednesday.

  2. This modiosas web site is known as a walk-by for all the info you wanted about this and didn’t know who to ask. Glimpse right here, and you’ll positively uncover it.

  3. Thank you a bunch for sharing this with all of us you really realize what you are speaking approximately! Bookmarked. Please additionally discuss with my site =). We can have a link change arrangement among us|

  4. Nice post. I learn one thing tougher on different blogs everyday. It is going to all the time be stimulating to read content from other writers and practice slightly one thing from their store. I’d favor to use some with the content material on my blog whether or not you don’t mind. Natually I’ll give you a link on your net blog. Thanks for sharing.

  5. I am really loving the theme/design of your site. Do you ever run into any browser compatibility issues? A handful of my blog audience have complained about my website not working correctly in Explorer but looks great in Chrome. Do you have any solutions to help fix this issue?

  6. Glad to be one of the visitants on this amazing internet site : D.

  7. Some truly nice and useful info on this site, besides I think the design and style contains wonderful features.

  8. We absolutely love your blog and find nearly all of your post’s to be exactly I’m looking for. Would you offer guest writers to write content for you personally? I wouldn’t mind publishing a post or elaborating on most of the subjects you write about here. Again, awesome blog!

  9. I am continuously searching online for articles that can help me. Thank you!

  10. Some genuinely select posts on this web site , saved to favorites .

  11. One of our visitors not too long ago recommended the following website

  12. I enjoy, cause I discovered exactly what I was looking for. You’ve ended my four day long hunt! God Bless you man. Have a nice day. Bye