02.17 Reorganize the Default Item Templates

VERSIONS

2005, 2008, 2010

CODE

vstipProj0021

Warning

The procedures in this tip could cause your templates to disappear if you don’t follow the instructions carefully. So do this at your own risk. You might want to back up your ItemTemplates folder just to be safe.

You’ve probably noticed that General section of the New Item dialog box contains a large number of items. If you want to organize those a bit more, this tip shows you how to create custom areas in which you can store the default item templates that ship with Visual Studio. This example creates a Diagram area for the diagram items that—by default—appear in the General section.

To get started, find where Visual Studio stores item templates on your ...

Get Coding Faster: Getting More Productive with Microsoft® Visual Studio® now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.