How to: Open Text Templates for Editing
You can use the Visual Studio text editor to edit domain-specific language text templates. To open a text template file for editing, use the following procedure.
To edit a text template file
In Solution Explorer, right-click the text template file that you want to edit, and then click Open.
You can now add code to the template. For more information, see Adding Code to Text Templates and Using Built-in Directives in Text Templates.
Security
For more information, see Security of Text Templates.