19 required Visual Studio shortcuts, Visual Studio

Source: Internet
Author: User

19 required Visual Studio shortcuts, Visual Studio
Project-related shortcut keys

Ctrl + Shift + B = generate a project

Ctrl + Alt + L = show Solution Explorer (Solution Resource Manager)

Shift + Alt + C = add new class

Shift + Alt + A = Add A new project to the Project

Edit related keyboard shortcuts

Ctrl + Enter = insert blank lines in the current row

Ctrl + Shift + Enter = insert blank lines under the current row

Ctrl + Space key = use intelliisense (smart sensing) to automatically complete

Alt + Shift + arrow (Keys, keys, keys, →) = select the custom part of the code

Ctrl +} = matching braces and parentheses

Ctrl + Shift ++} = select text in matching brackets

Ctrl + Shift + S = save all files and projects

Ctrl + K, Ctrl + C = comment on the selected row

Ctrl + K, Ctrl + U = uncomment the selected row

Ctrl + K, Ctrl + D = correct alignment of all codes

Shift + End = select the entire line from start to End

Shift + Home = select the entire line from the end to the header

Ctrl + Delete = Delete all words on the right of the cursor

Navigation-related keyboard shortcuts

Ctrl + Up/Down = scroll the window without moving the cursor

Ctrl +-= move the cursor to its previous position

Ctrl ++ = move the cursor to the next position

F12 = go to definition

Debug related keyboard shortcuts

Ctrl + Alt + P = attach to process

F10 = debug one-step execution

F5 = start debugging

Shift + F5 = stop debugging

Ctrl + Alt + Q = add Quick Match

F9 = set or delete a breakpoint

Search for related keyboard shortcuts

Ctrl + K = bookmark the current row

Ctrl + K Ctrl + N = navigate to the next bookmarks

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

Ctrl + Shift + F = find in file

Shift + F12 = search for all references

Ctrl + F = show Search dialog box

Ctrl + H = show the replacement dialog box

Ctrl + G = jump to the row number or line

Ctrl + Shift + F = find the reference of the selected entry in the entire solution

These are all shortcut keys for Visual Studio. If you have any omissions, please share them with us.

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.