Probably through a lot of blog introduction, we all know the use of code snippets, using code snippets can easily generate some commonly used code format, it is really convenient for us to develop. In team development or in some cases, we may also want to use Visual Studio generated code to automatically carry some information, such as the creation time of the code file, the description of the code and reference to the namespace, and so on, in fact this feature is confirmed by the weekly public in visual STUDIO2005 is supported in the above version.
The following is illustrated in the case of the weekly public notebook, which is installed on the C disk in the Dell 1425 on the system disk and Visual Studio 2005 and Visual Studio 20,082 Visual Studio and a genuine SQL Server 2005 is installed because the system disk often switches between Windows XP and Windows 7 and also wants to share certain personal configurations between Windows XP and Windows 7. So my document directory set to the system's last disk G disk, the specific path for G:\My documents, if not a special configuration should be C:\Documents and settings\zhoufoxcn\my documents, this particular attention.
For Visual Studio 2008来, first we open C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE This directory (if you are using Visual Studio 2005 the corresponding path is C:\Program Files\Microsoft Visual Studio 8\Common7\IDE) and you can see the following:
As you can see from the image above, the ItemTemplates and Projecttemplates folders are selected by Zhou, because this folder is useful to us. The ItemTemplates file contains the templates that we add to the project, and the Projecttemplates folder is the template that we create the project by definition. The templates in these folders will appear when we create a file or project, respectively.