This article will list the commonly used shortcuts in Visual Studio. Correctly and skillfully using shortcuts will greatly improve your programming efficiency.

Project-related shortcuts
Ctrl + Shift + B= Build project
Ctrl + Alt + L= Show Solution Explorer
Shift + Alt+ C= Add new class
Shift + Alt + A= Add new item to project
Editing-related keyboard shortcuts
Ctrl + Enter= Insert a blank line at the current line
Ctrl + Shift + Enter= Insert a blank line below the current line
Ctrl + Space= Use IntelliSense to auto-complete
Alt + Shift + Arrow keys(←,↑,↓,→) = Select a custom section of code
Ctrl + }= Match braces, parentheses
Ctrl + Shift +}= Select text inside matching braces and parentheses
Ctrl + Shift + S= Save all files and projects
Ctrl + K,Ctrl + C= Comment selected lines
Ctrl + K,Ctrl + U= Uncomment selected lines
Ctrl + K,Ctrl + D= Align all code correctly
Shift + End= Select the entire line from start to end
Shift + Home= Select the entire line from end to start
Ctrl + Delete= Delete all characters 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 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 delete a breakpoint
Search-related keyboard shortcuts
Ctrl + K Ctrl + K= Add a bookmark to the current line
Ctrl + K Ctrl + N= Navigate to the next bookmark
Ctrl + .= If you type a class name like Collection<string> and the namespace import is not correct, this shortcut combination will automatically insert the import.
Ctrl + Shift + F= Find in files
Shift + F12= Find all references
Ctrl + F= Show Find dialog
Ctrl + H= Show Replace dialog
Ctrl + G= Go to line number or line
Ctrl + Shift + F= Find references to the selected item in the entire solution
The above are all the Visual Studio shortcuts. If there are any omissions, feel free to supplement and share.