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 shortcut keys for Visual Studio

2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

What are the shortcut keys of Visual Studio? I believe many inexperienced people don't know what to do about it. Therefore, this article summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.

The editor will list the keyboard shortcuts commonly used in Visual Studio. Using keyboard shortcuts correctly and skillfully will greatly improve your programming efficiency.

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

After reading the above, do you have any ways to master the shortcut keys of Visual Studio? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

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