The following is the tutorial column ofphpstormto share with you the commonly used shortcut keys for PHPSTORM. I hope it will be helpful to friends in need!
1.ctrl alt sQuickly open the setting system settings
2,CTRL /Single line comment/uncomment CTRL SHIFT / Block comment/Cancel block comment
3. Enter above the method body '/**' Press Enter again to quickly add method comments
4,CTRL ALT LFormat code
5、Ctrl YDelete rows
CTRL DCopy rows, quickly distribute li tags, etc.
6,SHIFT F2Highlight errors or warnings to quickly locate errors, and highlight multiple errors in a loop
7,CTRL WPress the block selected code continuously to continue to expand the selection
8,CTRL []Move the cursor to the beginning or end of {}[]
9,CTRL ALT←/→Return to the last edited position
10,ALT ↑/↓in the method Quickly move positioning between
11,ctrl shift enter(Intelligent perfect code such as if())
##12,ctrl shift up/down(Move rows, merge selected rows, move the code selected area up/down)
13,ALT INSERTGenerate Code... (getter, setter method, constructor)
14. phpstorm retrieves accidentally deleted files
Open in sequenceview->recent changes->Click a history in the list->right-click on the specified file->revert selection
##15 ,Alt key and mouse clickYou can make multiple selections and edits
16. When using a class, automatically use the namespace in the header
17. PhpStorm selects the same text and highlights it
settings->Editor->Colors Scheme->General->Code- >Identifier under caret [write]
18. Set class header annotation template* Setting location:"Settings"->"File and Code Templates "->"Includes"->"PHP File Header"
#
The above is the detailed content of Share PHPSTORM common shortcut keys. For more information, please follow other related articles on the PHP Chinese website!