Visual Studio shortcut keys

Source: Internet
Author: User

Project-related shortcut keys

Ctrl + Shift + B = Build Project

Ctrl + Alt + L = Show Solution Explorer (Solution Explorer)

Shift + ALT + C = Add New Class

Shift + Alt + A = Add New item to project

Edit related keyboard shortcuts

Ctrl + Enter = Blank lines are inserted in the current line

Ctrl + Shift + Enter = blank line inserted below the current line

Ctrl + SPACEBAR = auto-complete with IntelliSense (IntelliSense)

ALT + Shift + arrow key (←,↑,↓,→) = Select Custom section of code

Ctrl +} = Match curly braces, parentheses

Ctrl + Shift +} = Select text within the matching parentheses and parentheses

Ctrl + Shift + S = Save All files and items

Ctrl + K,ctrl + C = Comment selected line

Ctrl + K,ctrl + U = Uncomment the selected line

Ctrl + K,ctrl + D = correct alignment of all code

Shift + End = Select entire row from start to finish

Shift + Home = Select entire row from end of head

Ctrl + DELETE = Delete all words to the right of the cursor

Navigation-related keyboard shortcuts

Ctrl +up/down = Scrolls the window but does not move the cursor

Ctrl +-= Let the cursor move to its previous position

Ctrl + + = Let the cursor move to the next position

F12 = go To Definition

debugging-related keyboard shortcuts

Ctrl + Alt + P = Attach to Process

F10 = Debug Single-Step execution

F5 = Start Debugging

Shift + F5 = Stop Debugging

Ctrl + Alt + Q = Add Quick Match

F9 = Set or remove breakpoints

Search for related keyboard shortcuts

CTRL + K CTRL + K = Add Bookmark to Current line

CTRL + K CTRL + N = Navigate to Next Bookmark

Ctrl +. = If you type a class name such as Collection<string>, and the namespace import is incorrect, then this shortcut combination will be automatically inserted into the import

Ctrl + Shift + F = Find in File

Shift + F12 = Find All References

Ctrl + F = Show Find dialog box

Ctrl + H = Show Replace dialog box

Ctrl + G = jump To line number or line

Ctrl + Shift + F = Find references to the selected entries throughout the solution

These are all the shortcut keys for Visual Studio, and if there are any omissions, welcome to the supplemental share.

Visual Studio shortcut keys

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.