VS2008 Integrated Development Environment (IDE) of the "Keyboard" option provides several predefined keyboard mapping scheme. Each program is assigned a keyboard shortcut for the command, without using the mouse in order to perform the appropriate action. The default keyboard shortcut program is Visual C # 2005 keyboard mapping scheme may change according to their personal habits to change the method is..:
-
In the "Tools" menu, click "Options" .
-
Expand the "Environment" , then click "keyboard" .
-
In the "Apply the following application keyboard mapping scheme" drop-down list, select their own custom solution.
The following is a commonly used shortcut keys:
Command Line:
Devenv start VS Studion
Isqlw start SQL2000 Query Analyzer
Sqlwb start SQL2005 Enterprise Manager
Inetmgr start IIS Manager
Outline
Ctrl + M, O is folded all the outline
Ctrl + M, P: Stop outlining
Ctrl + M, M: collapse or expand the current nested folded state
Ctrl + M, L: all set to the same process or deployed state Hide
Note
Ctrl + K, Ctrl + C: annotation selection
Ctrl + K, Ctrl + U: deselect the comment content
Bookmark
Ctrl+W,B
Ctrl + B, T switching switch bookmark
Ctrl + B, N is moved to the next bookmark
Ctrl + B, P: move to a bookmark
Ctrl + B, C: Clear all tags
Code Search
Ctrl + I: incremental search
Ctrl + Shift + I: Reverse incremental search
Ctrl + F: Find
Ctrl + Shift + F: Find in Files
F3: Find Next
Shift + F3: Find previous
Ctrl + H: Alternatively
Ctrl + Shift + H: Replace in Files
Alt + F12: Find symbol ( List all search results )
Code View
Ctrl + J: List Members IntelliSense
Ctrl + K, P: parameter information
Ctrl + K, I: Quick Info
Ctrl + Down arrow keys : scroll Code screen, but without moving the cursor.
Ctrl + G: Go to specified line
F12: definition of process variables or go to the call
F12 + Shift: Find all the calling procedure or variable references
F8 defined to the Wrong displayed list
F4 Display Properties window
CTRL + minus positioned rearwardly
CTRL + SHIFT + MINUS positioned forward
Code Editor
Shift + Alt + Enter: Toggle full screen editor
Ctrl + Shift + V: clipboard cycle
Ctrl + left and right arrow keys : one can move a word
Shift + Home (End): Select the play of code between the beginning of the line (tail) from the cursor
Ctrl + Shift + L: Delete the current line
Ctrl + L: the current line
Ctrl + E, S: View blank
Ctrl + E, W: Wrap
Shift + Alt + Arrow keys : selection rectangle text
Alt + left mouse button : Select the text rectangle
Alt + Shift + mouse: select their own circle in the long box
Ctrl + Shift + U: all uppercase
Ctrl + U: All lowercase
Ctrl + K, M: generating method stubs
Ctrl + K, K: set bookmarks
Ctrl + K, X: inserting the code snippet
Ctrl + K, S: insert outside Code
Ctrl + k, F: formatting an entire block
Shift + Alt + F10 interfaces automatically
Ctrl +]: Check matching brackets (switching between the left and right parentheses)
Formatting the entire document: Ctrl + K, Ctrl + D
Window Shortcuts
Ctrl + Tab: active file switch
Ctrl + F6: active file individually switched
Ctrl + Alt + Down arrow : active file list to switch
Alt + F7: Active Tool window switch
Ctrl + W, W: browser window
Ctrl + W, S: Solution Manager
Ctrl + W, C: Class View
Ctrl + W, E: Error List
Ctrl + W, O: Output View
Ctrl + W, P: Properties Window
Ctrl + W, T: task list
Ctrl + W, X: Toolbox
Ctrl + W, B: bookmark window
Ctrl + W, U: document outline
Code debugging :
Ctrl + D, B: Breakpoints window
Ctrl + D, I: Immediate window
F9: Breakpoint
F10: step over
F11: Step Into
F5: Start Debugging
F6: Build Solution
In writing event code, such as writing code Button_Click, when you wrote Button_Click + =, just double-click the Tab key, IDE will do the rest for you.
Reproduced in: https: //www.cnblogs.com/MichaelGuan/archive/2008/12/16/1356052.html