Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add a standard set of 'using' statements in VS?

I have Visual Studio 2008 and I find myself constantly adding the same 3 or 4 using statements with every file I create.... Is there a way that I can define these somewhere in VS so every time I create a file this standard set of includes are added?

like image 778
Mike Fielden Avatar asked Feb 18 '09 13:02

Mike Fielden


2 Answers

You can create a template that matches what you want, as per

http://msdn.microsoft.com/en-us/magazine/cc188697.aspx

like image 78
Rich Avatar answered Oct 19 '22 22:10

Rich


You can do it by editing Visual Studio Item templates.

More information here

like image 20
markom Avatar answered Oct 19 '22 22:10

markom