Most Favorite VS2005 Item
So as I’ve been playing around with VS2005 and the 2.0 framework, my mostest favorite new addition in the C# IDE is being able to write a type and have it intelligently tell me “HEY! I don’t know where that type is!” and give me the option to either fully qualify it or adding in a “using” statement. Whenever you see the red line underneath a type when your cursor is in the word, simply press Shift+Alt+F10, then Enter. And voila! you know have a new using statement. The only downside, is that this only works when the assembly that type is contained in is referenced in your project. Ohh - and if you like using the mouse more than the keyboard, just hover your cursor over the red line and it’ll allow you to do the same thing.
Update: If you’re looking for the keyboard shortcut for this, its called “View.ShowSmartTag”. I just added Shift+Alt+Space which is a lot easier on the hands as I don’t have to hunt for F10.