The output templates (.vbdt files) are just plain text files with a simple macro syntax. You can edit them in any text editor, including Visual Studio.
The .vbdt files use very simple syntax but the entire template code may look quite messy. It may be difficult to navigate in it, if there's no syntax highlighting.
Starting with Visual Studio 2015, you can create custom syntax highlighters for your own file types. This is thanks to the Visual Studio Extension for TextMate Grammars which is a part of the VS installation by default. VSdocman comes with the syntax highlighter for .vbdt files. If you need to customize the templates, you can install the highlighter and then edit the .vbdt files in Visual Studio comfortably.
To install the .vbdt grammar:
1.Close Visual Studio.
2.Go to C:\Program Files (x86)\VSdocman\Templates\Vbdt editing\ folder. There's vbdt subfolder inside it.
3.Copy the vbdt subfolder to C:\Users\<USERNAME>\.vs\Extensions\ folder. This is the folder with the TextMate extension grammars.
Note: If you have the Syntax Highlighting Pack extension installed in your Visual Studio, it will rewrite the C:\Users\<USERNAME>\.vs\Extensions\ folder. To make the grammar work, you need to do the following:
4.Delete languages.cache and (if exists) Syntax Highlighting Pack.log files in C:\Users\<USERNAME>\.vs\Extensions\.
Now you can start Visual Studio, open a .vbdt file and you should see its syntax highlighted.
Note: In VS 2015, the Visual Studio Extension for TextMate Grammars doesn't support VS color schemes. In VS 2017, this is supported and the colors from the VS settings are used.