Visual studio, add a new document type

How to add a new type of document to visual studio? I need to add stringtemplate ".st" file type, how to do this? or is it possible? many thanks

+2


a source to share


2 answers


For .NET projects, you can create item templates here, and then they will be available in a new document dialog.

http://msdn.microsoft.com/en-us/library/tsyyf0yh.aspx

For Visual C ++ projects, you need the following:



http://msdn.microsoft.com/en-us/library/96xz4cw2.aspx

Hope it helps.

0


a source


Actually, this is how you add the new file type. You create a new item template with the extension type .st and then associate that file type with visual studio using the file association option in the configuration menu.



0


a source