Generate solution F6, generate project Shift+F6
Debug and execute F5, terminate debugging and execute Shift+F5
Execute debugging Ctrl+F5
Find the next F3 , find the previous Shift+F3
Attach to the process Ctrl+Alt+P, process by process F10, statement by statement execute F11
Switch breakpoint F9 (add or cancel breakpoint)
Run to the cursor Ctrl+F10
Jump out of the current method Shift+F11
New solution: Ctrl+Shift+N
Open the solution: Ctrl+Shift +O
Save files Ctrl+S, save all files Ctrl+Shift+S
View solution window Ctrl+W,Ctrl+S
View properties window Ctrl+ W,Ctrl+P
Error list display Ctrl+W,Ctrl+E
Output list display Ctrl+W,Ctrl+O
Bookmark window Ctrl+W,B
Switch bookmark Ctrl+B, T
Switch to the next bookmark Ctrl+B, N
Switch to the previous bookmark Ctrl+B, P
Clear Bookmark Ctrl+B,C
Active window switching Ctrl+Tab
Browser window Ctrl+W,W
Breakpoint window Ctrl+D,B
Even if the window Ctrl+D, I
toolbox Ctrl+W, Ctrl+X
switch to full screen Shift+Alt+Enter, navigate backward Ctrl+-, navigate forward Ctrl+Shift+-
Add a class to the project Shift+Alt+C
Add a new item to the project Ctrl+Shift+A
Add an existing item to the project Shift+Alt+A
Find Ctrl+F, find in the file Ctrl+Shift+F
Incremental search Ctrl+I, reverse progressive search Ctrl+Shift+I
Replace Ctrl+H, replace in the file Ctrl+Shift+H
Go to line number Ctrl+G
Clipboard loop Ctrl+Shift+V Note: 20 items can be saved in the clipboard in a loop, and you can call them at will For the cut content, just keep pressing Ctrl+Shift+V until you find the item you need
Move the cursor by one wordCtrl+Left and right arrows
Scroll the code screen without moving the cursor Position Ctrl+up and down arrows
Delete the current line Ctrl+Shift+L
Hide or expand the current nested collapsed state Ctrl+M,M
Hide or expand all nests Ctrl+M,L
Collapse to definition Ctrl+M,O
Toggle display of blank space Ctrl+E,S
Select rectangular text Shift+Alt+arrow keys
Change all to uppercase: Ctrl+Shift+U Change all to lowercase Ctrl+U
Force IntelliSense Ctrl+J
View method parameter information Ctrl+Shift+Space
View the current code quick information Ctrl+K,I
Comment the selected line Ctrl+K,C or Ctrl+E,C
Uncomment the line Ctrl+K,U or Ctrl+E,U
Insert code segment Ctrl+K,X
Insert outer code segment Ctrl+K,S
Go to definition F12
Generate method stub, cursor positioning On the called method, press Shift+Alt+F10
to view the implemented interface method. Position the cursor on the interface to be implemented by the class, and press Shift+Alt+F10
to view all references. Ctrl+K,R
View call hierarchy Ctrl+K,T
In addition to the above-mentioned common shortcut keys, if developers want to view system shortcuts or expand their own shortcut keys, they can open vs-[Tools]-[Options]
Select [Environment]-[Keyboard]
Search for the shortcut key function you want to add in the window.
The above is the detailed content of Detailed explanation of common shortcut keys in VS2015. For more information, please follow other related articles on the PHP Chinese website!