Common shortcut keys for visual stdio

Source: Internet
Author: User

 

Debugging shortcuts

F6: generate a solution
CTRL + F6: generate the current project
F7: view code
Shift + F7: view the Form Designer
F5: start debugging
CTRL + F5: start execution (not debugging)
Shift + F5: Stop debugging
CTRL + Shift + F5: restart debugging
F9: breakpoint Switching
CTRL + F9: Enable/stop a breakpoint
CTRL + Shift + F9: delete all breakpoints
F10: Process by Process
CTRL + F10: run at the cursor
F11: statement by statement

Edit shortcuts

Shift + ALT + enter: Switch to full screen editing

CTRL + B, T/Ctrl + k, K: Switch the bookmarks
CTRL + B, n/Ctrl + k, n: Move to the next bookmarks
CTRL + B, P: Move to the previous bookmarks
CTRL + B, C: Clear all labels

CTRL + I: Progressive search
CTRL + Shift + I: reverse progressive search
CTRL + F: Search
CTRL + Shift + F: find in the file
F3: Find the next
Shift + F3: Find the previous one
CTRL + H: replace
CTRL + Shift + H: Replace in the file
Alt + F12: Search symbols (list all search results)

CTRL + Shift + V: clipboard Loop

CTRL + left and right arrow keys: One word can be moved at a time
CTRL + up and down arrow keys: Scroll the code screen without moving the cursor position.
CTRL + Shift + L: Delete the current row
CTRL + M, M: Hide or expand the current nested folding status
CTRL + M, L: Set all processes to the same hidden or expanded State
CTRL + M, P: Stop outline display
CTRL + E, S: View Blank
CTRL + e, W: automatic line feed
CTRL + G: Go to the specified row
Shift + ALT + Arrow: Select rectangular text
Alt + mouse left button: Select rectangular text

CTRL + Shift + u: all are capitalized
CTRL + u: lowercase for all

Code shortcut

CTRL + J/Ctrl + K, L: List Members
CTRL + Shift + Space key/Ctrl + K, P: parameter information
CTRL + K, I: quick information

CTRL + E, C/Ctrl + k, C: Comment the selected content
CTRL + e, U/Ctrl + k, u: cancel the selected comment content

CTRL + K, M: Generate method stubs
CTRL + k, X: insert code segment
CTRL + k, S: insert external code

F12: Go to the definition of the called process or variable

Window shortcut

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: attribute window
CTRL + W, T: task list
CTRL + W, X: toolbox
CTRL + W, B: Bookmarks window
CTRL + W, u: document outline

CTRL + D, B: breakpoint window
CTRL + D, I: Real-Time Window

CTRL + tab: active form Switching

CTRL + Shift + N: Create a project
CTRL + Shift + O: Open the project
CTRL + Shift + S: Save all
Shift + ALT + C: Create a class
CTRL + Shift + A: new item

Common Visual C # shortcut keys

1. F12: To definition; Shift + F12: to reference

2. F5: Start; Ctrl + F5: start execution (not debugging); Shift + F5: Stop debugging

3. F7: view code; Shift + F7: View designer

4. CTRL + ALT + L: solution Resource Manager

5. CTRL + ALT + J: Object Browser

6. F4: Display attribute window

7. CTRL + ALT + X: toolbox

8. CTRL + ALT + C Class View

9. Alt + enter: view attributes

10. F10: Process-by-process debugging

11. F11: Statement-by-statement debugging

12. CTRL + B: New breakpoint

13. CTRL + Shift + F9: Clear all breakpoints

14. CTRL + Shift + B to generate a solution

15. Shift + ALT + enter: Full Screen

16. outline display: Ctrl + M, CTRL + M: Switch outline display expand; Ctrl + M, CTRL + L: Switch all outline display; Ctrl + M, crtl + P stop outline display; CTRL + M, CTRL + O: Fold to definition

17. Intelligent Sensing: Ctrl + J: List members; Ctrl + Shift + space: parameter information; Ctrl + k, CTRL + I: quick information; Alt + right arrow: complete words

It doesn't matter if it's hard to remember. You can set the IDE environment and Display Shortcut Keys on the menu. When writing code, pay more attention to it. If you see more, you will naturally become proficient, so that you do not need to switch keys and mouse continuously during code writing.

The settings are as follows: "Tools", "Custom", and "options". Select the options before "display shortcuts in the screen prompt.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.