Share PHPSTORM common shortcut keys

藏色散人
Release: 2020-11-17 15:40:53
forward
3303 people have browsed it

The following is the tutorial column of phpstorm to share with you the commonly used shortcut keys for PHPSTORM. I hope it will be helpful to friends in need!

Share PHPSTORM common shortcut keys

1. ctrl alt s Quickly 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 L Format code

5、Ctrl Y Delete rows

CTRL D Copy rows, quickly distribute li tags, etc.

6, SHIFT F2 Highlight errors or warnings to quickly locate errors, and highlight multiple errors in a loop

7, CTRL W Press 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 INSERT Generate Code... (getter, setter method, constructor)

14. phpstorm retrieves accidentally deleted files

Open in sequence view->recent changes->Click a history in the list->right-click on the specified file->revert selection

##15 ,

Alt key and mouse click You 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!

Related labels:
source:cnblogs.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template