F12
Go to definition of identifier under cursor
Ctrl+Shift+8
Return to where you last hit F12
Shift+Alt+F10
Show smart tag for identifier under cursor (look for small blue or red lines under the identifier)
Ctrl+TAB
Toggle between windows in Visual Studio
Alt+W, L
Close all windows
Ctrl+Alt+L
Open the Solution Explorer (to find your file after you just closed them all)
Ctrl+F2
Jump to the Navigation Bar (hit TAB to get to the right side)
Ctrl+I
Incremental search (this is way better than Ctrl+F)
Ctrl+F3
Find word under cursor
F3
Find again
Shift+F3
Find again in the opposite direction
Ctrl+Shift+F
Find in files
F8
Jump to next found line (after find in files) or error line (after build)
Ctrl+PageDown
Toggle between Design and Source views in .aspx files
F7
Jump to code behind file from .aspx files
Ctrl+K, Ctrl+C
Comment out selection
Ctrl+K, Ctrl+U
Uncomment selection
Ctrl+K, Ctrl+D
Format document
Ctrl+M, Ctrl+M
Open/close current fold
Ctrl+M, Ctrl+O
Fold all methods
Ctrl+M, Ctrl+L
Toggle all folds
Ctrl+K, Ctrl+K
Toggle bookmark on/off
Ctrl+K, Ctrl+N
Jump to next bookmark
Ctrl-C (with nothing selected)
Copy whole line
Ctrl-X or Ctrl-L (with nothing selected)
Cut whole line
Ctrl+]
Bounce cursor between matching parentheses/brackets/braces
Ctrl+Enter
Open line above line cursor is on
Ctrl+Shift+Enter
Open line below line cursor is on
Ctrl+K, Ctrl+X
Insert snippet (or just type in the snippet name and hit TAB, TAB)
Ctrl+K, Ctrl+S
Surround selected lines with snippet
Ctrl+Shift+B
Build solution
Alt+B, R
Rebuild solution
F9
Toggle breakpoint
Ctrl+Shift+F9
Delete all breakpoints
F5
Start debugging
Shift+F5
Stop debugging
F10
Step over
F11
Step into
Shift+F11
Step out
Ctrl+F5
Start without debugging
阅读(2483) | 评论(0) | 转发(0) |