Get the App
SLTechnology News&Howtos  ›  Development  › 

What are the Visual Studio shortcut keys?

Shulou Source: shulou.com Published: 2022-06-03 13:09:33 11月14日 Update

Today, I will talk to you about what Visual Studio shortcuts are, which may not be well understood by many people. In order to make you understand better, the editor has summarized the following contents for you. I hope you can get something according to this article.

Project-related shortcut keys

Ctrl + Shift + B = build project

Ctrl + Alt + L = display Solution Explorer (solution Explorer)

Shift + Alt+ C = add a new class

Shift + Alt + A = add a new project to the project

Edit related keyboard shortcuts

Ctrl + Enter = insert a blank line on the current line

Ctrl + Shift + Enter = insert a blank line below the current line

Ctrl + Spacebar = done automatically using IntelliSense (IntelliSense)

Alt + Shift + arrow keys (←, ↑, ↓, →) = Select a custom part of the code

Ctrl +} = match braces, braces

Ctrl + Shift +} = Select text within matching parentheses, parentheses

Ctrl + Shift + S = Save all files and projects

Ctrl + K ·Ctrl + C = comment the selected line

Ctrl + K ·Ctrl + U = uncomment the selected line

Ctrl + K Magee Ctrl + D = align all codes correctly

Shift + End = Select the entire row from beginning to end

Shift + Home = Select the entire row from end to end

Ctrl + Delete = Delete all words to 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 location

F12 = go to definition

Debug related keyboard shortcuts

Ctrl + Alt + P = attach to the process

F10 = debugging single step execution

F5 = start debugging

Shift + F5 = stop debugging

Ctrl + Alt + Q = add Quick match

F9 = set or delete breakpoints

Search for related keyboard shortcuts

Ctrl + K Ctrl + K = bookmark the current line

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

Ctrl +. = if you type a class name such as Collection and the namespace import is incorrect, the shortcut combination will be automatically inserted into the import

Ctrl + Shift + F = find in the 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 selected items throughout the solution

These are all the shortcut keys for Visual Studio

After reading the above, do you have any further understanding of Visual Studio shortcuts? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

Tags: Keyboard shortcuts cursors parentheses keyboards items selections content moves bookmarks code locations dialog boxes files schemes comments blank lines solutions dialogs navigation from beginning to end Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information NVidia MySQL OPPO Reno Docker