开发者

visual studio, add new document type

How do i add a new document type to visual studio? I need to add stringtemplate ".st" type of file, how do i do that? or is that even 开发者_开发知识库possible? thank you very much


For .NET projects here's how you can create item templates, and this would then be available in new document dialog.

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

For Visual C++ projects you would need this:

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

Hope this helps.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜