0

Is it possible to have additional "using" directives automatically added to my new aspx.cs files so that I do not have to keep typing the same ones over and over again (i.e. custom namespace using directives)

raven
  • 18,004
  • 16
  • 81
  • 112
mattgcon
  • 4,768
  • 19
  • 69
  • 117

2 Answers2

1

You can edit the files that are used by the template. Better yet, create your own. File + Export Template.

Hans Passant
  • 922,412
  • 146
  • 1,693
  • 2,536
0

You don't have to type them in. When writing the code, type in the name of the class (without the namespace). Then hit CTRL+.. That will open up the resolve type intellisense helper. It will add the using statement to the top of the file. No scrolling necessary.

Matt Brunell
  • 10,141
  • 3
  • 34
  • 46
  • I was thinking about using this method, but I have a helper, and he is not too familiar with using VS2008 or anytype of Development software expect for notepad. So I am a little reluctant – mattgcon Aug 23 '10 at 21:47