Just Sayin’ More Words

About This Post

Stupid Visual Studio Tricks, Part 4

Part 1: Navigate with the back/forward buttons on your mouse
Part 2: Fix annoying jumping toolbars
Part 3: Using the find window to quickly open a file

A couple quick ones:

  • Click with your middle mouse button (or scroll wheel) on a tab to close a document window.
  • Window > Close All Documents (not where I thought it should be)
  • Re-map Control-W to Close Document (like IE/Firefox)
    • Tools | Options | Keyboard
    • In ‘Show commands containing’ type SelectCurrentWord
    • Click Remove
    • In ‘Show commands containing’ type File.Close
    • In ‘Press shortcut keys’ type Control-W
    • Click ‘Assign’ and ‘OK’
  • Use Control-Backspace and Control-Delete to delete entire words. Control-Delete is especially helpful when the cursor is at the end of the line and you want to delete the line break and the leading tabs/spaces of the next line.
  • Use Control-. to bring up the smart tag for adding using statements.
    controldot
  • Use Control-I to quickly search through a document. After you’ve located a match, hit Control-I again to cycle through other matches.
  • Right-drag code to invoke context menu for with options for moving or copying (if you can’t be bothered to hold control while dragging).

Viewing 1 Comment

close Reblog this comment
blog comments powered by Disqus