Did you know you can use SmartTags to automatically qualify your classnames? Using C# as an example, let’s say you were to type in
private Process proc;
But you don’t have the appropriate using statement included in your code. You can put the cursor over Process to invoke the SmartTag icon – the little red rectangle at the end of the word. You can use the mouse to invoke the SmartTag by hovering over it or use the keyboard by pressing Ctrl+. or Shift+Alt+F10. Both keyboard shortcuts are bound to View.ShowSmartTag.
You’ll now have the option to select whether to insert
using System.Diagnostics; or
Thanks to Chetan for the suggestion.
Happy Visual Studio’ing!