Friday 27 April 2007

vs2k5 shortkeys

Ctrl+M, Ctrl+L Edit ToggleAllOutlining
Ctrl+M, Ctrl+M Edit ToggleOutliningExpansion
Ctrl+M, Ctrl+O Edit CollapsetoDefinitions
Ctrl+M, Ctrl+P Edit StopOutlining
Ctrl+M, Ctrl+U Edit StopHidingCurrent
F12 - Go to symbol definition
Shift-F12 - Show all references to a symbol
F8 - Cycle through list of items in the currently active output window
Shift-F8 - Same as F8 but in the opposite direction
Ctrl-‘-‘ - Move backwards to previous cursor location
Ctrl-Shift-‘-‘ - Move forwards to last cursor location
Ctrl-Shift-8 - Move up the definition navigation stack (stack pop)
Ctrl-Shift-7 - Move down the definition navigation stack (stack push)
Ctrl-I activates incremental search
Ctrl-Shift-I to go to the previous). Pressing Escape will turn off incremental search.
Ctrl-Shift-F - Find in all files (more useful than Ctrl-F)
Ctrl-H - Replace
Ctrl-K, Ctrl-C - Comment out currently selected code
Ctrl-K, Ctrl-U - Uncomment currently selected code
Ctrl-K, Ctrl-F - Auto format selected code
Ctrl-R, Ctrl-M - Extract method
Ctrl-R, Ctrl-E - Encapsulate field
Ctrl-R, Ctrl-I - Extract Interface
F2 - Rename
F10 – Debugging Step over
Ctrl-F10 – Debugging Run to cursor
F11 – Debugging Step into
Shift-F11 – Debugging Step out
F9 – Debugging Toggle a breakpoint
F5 – Debugging Run with debugging
Shift-F5 – Stop debugging
Control-F5 – Run without debugging

No comments: