Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the Visual Studio shortcut keys?

2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report