Add Using Automatically - Visual Studio 2005 Feature

March 7, 2007
No Comments.

My new favorite feature of Visual Studio is the ability to click on a typename and have it automatically add the using/imports statement for me.  It won’t do it if you don’t have the assembly already referenced, but otherwise this is a huge time saver for me…I don’t know why I never noticed it before.

UPDATE: The VB version of this feature will not add the import but allows you to change the name to best guesses (or a fully specified) type name.