It is possible by creating addin for the Visual studio IDE,
using addin we can control the operation's of IDE
for more information on addin please look these link
http://www.c-sharpcorner.com/Code/2002/Oct/AddIns.asp
http://msdn2.microsoft.com/en-us/library/5abkeks7(VS.80).aspx
Go to the C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\NewFileItems and edit there CSharpClass.cs. Also you can edit them in this folders:
C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ProjectTemplates
D:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ItemTemplates
And you can always create your class and "Export Template" from "File" menu.
Is there a way to modify this?
Cache folder is C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ItemTemplatesCache
I attempted to create a template for C# class files.
I created a new class called Class.cs.
I exported it then copied the .zip file into the two locations specified.
When I attempt to create a new class file I get the following error:
Could not find a part of the path 'C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ItemTemplatesCache\CSharp\1033\Class.zip\Class.vstemplate.
I attempted copying the file from the old zip into my new zip. Same result.
I attempted to rename the tempate file in my new zip. Same result.
Did I mention that this sucks!
Why you need copy ZIP? You must simply follow wizard and nothing more. Work with ZIP is for changing existing templates, but in "Export template" you don't need it. The only flaw in this export features is that add new item dialog display them at the bottom of the list, not seen after I opened this box, I have to scroll line down.