The most common shortcut keys for Visual Studio

Source: Internet
Author: User

1. F5: Start Debugging

2. F7/SHIFT-F7: Show Code window or display designer window

3.alt-enter: Displays the properties of the selected object (this is a common Windows shortcut that can be used to display directory and file properties)

4.f6/shift-f6/ctrl-shift-b: Build Solution/Build project/Build Solution

5.SHIFT-ALT-C: Adding classes to your project

6.ctrl-k + ctrl-c: Comment A selection code

7.ctrl-k + ctrl-u: Uncomment a selection code

8.ctrl-m + Ctrl-o/ctrl-m + ctrl-p: Collapse define/Expand All code (stop outlining)

9.ctrl-m + ctrl+m: Expand or collapse code snippets (toggle outline display)

10.ctrl-b + ctrl-t: Toggle code Bookmarks

11.ctrl-alt-p: Attaching a debugger to a process

12.ctrl-alt-l: Display Solution Browser

13.ctrl-shift-a/alt-shift-a: Adding Items to the project/removing items from the project

Add:

1. Forced intelligent Perception: ctrl+j;

2. Forced IntelliSense display parameter information: ctrl-shift-space;

3. Format the entire block: ctrl+k+f

4. Check bracket matching (toggle between left and right brackets): Ctrl +]

5. Select the code between the start of the cursor and the Beginning (tail): Shift + Home (end)

6. Switching between method definition and call point: ctrl+shift+7 (8)

7. Set Breakpoints: F9

8. Use tab to increase indentation, shift+tab decrease Indent

9. Format the entire code: CTRL+K, D

10. Set Bookmark: ctrl+b+t, jump bookmark: ctrl+b+n

The most common shortcut keys for Visual Studio

Related Article

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.