This article is a mirror article of machine translation, please click here to jump to the original article.

View: 24293|Reply: 0

[Source] Visual studio 2008 & 2010 Shortcuts [Turn]

[Copy link]
Posted on 11/4/2014 10:39:26 AM | | |
[Debug shortcuts]
F6: 生成解决方案
Ctrl F6: Generate the current project
F7: 查看代码
Shift F7: View the Form Designer
F5: 启动调试
Ctrl F5: Start execution (no debugging)
Shift F5: Stop debugging
Ctrl Shift F5: Restart debugging
F9: 切换断点
Ctrl F9: Enable/stop breakpoints
Ctrl Shift F9: Delete all breakpoints
F10: 逐过程
Ctrl F10: Run to the cursor
F11: 逐语句
[Edit shortcut]
Shift Alt Enter: Toggle full-screen editing
Ctrl B,T / Ctrl K,K: Toggle the bookmark switch
Ctrl B,N / Ctrl K,N: Move to the next bookmark
Ctrl B,P: Move to the previous bookmark
Ctrl B,C: Clear all labels
Ctrl I: Progressive search
Ctrl Shift I: Reverse progressive search
Ctrl F: Find
Ctrl Shift F: Find in the file
F3: 查找下一个
Shift F3: Find the previous one
Ctrl H: Replace
Ctrl Shift H: Replace in the file
Alt F12: Find Symbol (Lists all findings)
Ctrl Shift V: Clipboard loop
Ctrl left and right arrow keys: Move one word at a time
Ctrl up and down arrow keys: Scroll through the code screen without moving the cursor position.
Ctrl Shift L: Deletes the current line
Ctrl M,M: Hide or expand the currently nested collapsed state
Ctrl M,L: Set all processes to the same hidden or expanded state
Ctrl M,P: Stop the outline Ctrl E,S: View blank
Ctrl E,W: Wrap the line
Ctrl G: Go to the specified line
Shift Alt arrow key: Select rectangular text
Alt left mouse button: Select rectangular text
Ctrl Shift U: All becomes uppercase
Ctrl U: All lowercase
[Code Shortcuts]
Ctrl J / Ctrl K,L: List members
Ctrl Shift / Ctrl K,P: Parameter information
Ctrl K,I: Quick information
Ctrl E,C / Ctrl K,C: Comment on the selected content
Ctrl E, U / Ctrl K, U: Deselect the annotation content
Ctrl K,M: Generate method stubs
Ctrl K,X: Insert the code snippet
Ctrl K,S: Insert the outside code
F12: 转到所调用过程或变量的定义
[Window Shortcuts]
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
Ctrl D,B: Breakpoint window
Ctrl D,I: Instant window
Ctrl Tab: Active form switch
Ctrl Shift N: Create a new project
Ctrl Shift O: Open the project
Ctrl Shift S: Save all
Shift Alt C: Create a new class
Ctrl Shift A: New item

Common Coding Tips:
1 Go to definitions: F12;
2 Set bookmarks: Ctr K K;
3 Set the task: //TODO:something, view the task Ctrl W T;
4 Search: Ctrl F, Ctrl Shift F;
5 Forced intelligent perception: Ctrl J;
6 Forced intelligent perception display parameter information: Ctrl-Shift-space;
7 Format the whole block: Ctrl K F;
8 Full screen: Alt Shift Enter;
9 Set bookmark: Ctrl B T, jump bookmark: Ctrl B N
10 Check for parentheses matching (switch between left and right parentheses): Ctrl ]
11 Select the code from the cursor to the beginning (end) of the line: Shift Home(End)
12 Switching at the point of method definition and calling: Ctrl Shift 7(8)
13 Set the breakpoint: F9
14 Find all references: Shift F12
15 Comment Code, Mnemonic Method, Edit Comments: Ctrl E, C
16 Uncomment, mnemonic method: Edit UnComments: Ctrl E, U
17 Format code, mnemonic method: Edit Document (can only be used if the code can be compiled): Ctrl E, D
18 Collapse code: Ctrl M, O
19 Select the square in your circle: Alt Shift the mouse
20 In debug mode, "debug-window-disassembly", or ctrl alt d
21 Pressing Ctrl Enter will insert a blank line above, and Ctrl Shift Enter will insert a blank line below. The cursor moves to the beginning of the new row.
22 Use Tab to increase indentation, Shift Tab to decrease indentation (corresponding menu commands in Edit - Advanced)
23 Formatting the entire code: Ctrl K, D
24 Use Ctrl W to select the current word
25 Individual node folding and opening switch: Ctrl M, M
26 Use Ctrl G to skip to the specified line
27 Use Ctrl Delete and Ctrl Backspace to delete successor and precursor words, respectively
28 Use Ctrl L to cut the current row, Ctrl Shift L to delete the current line
29 How do I create a bookmark and jump in it? (Recommended) Press Ctrl K, Ctrl K can create/cancel a bookmark, the command is bound to Edit.ToggleBookmark, if your shortcut key is different, you can use the command to view the specific shortcut.
30 Use Ctrl J to help the statement complete





Previous:DOS under View Process and Kill Process
Next:"Fast and Furious 7" Chinese trailer debuted Statham Tony Jia made a stunning appearance
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com