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

Keyboard shortcuts commonly used in PHP IDE phpstorm

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

Share

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

This article introduces the knowledge of "keyboard shortcuts commonly used in PHP IDE phpstorm". Many people will encounter such a dilemma in the operation of actual cases, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

Mac computer phpstorm shortcut key

Command + a Select all

Command + c replication

Command + v paste

Command + z undo

Command + k code search

Command + l enter a line number to jump to a line

Command + o view the structure of a class

Command + / single-line comment

Command + e lists the last opened files

Ctrl + shift + / Block comment

Shift + command + x

Shift + command + r search the path of the corresponding file by file name

Shift + command + t search the path of the corresponding file by class name

Shift + command + c copy the path of the current file

Select the file name shift + f6 on the left (mac needs to hold down the key at the same time) to rename the file

2. Shortcut keys for phpstorm under windows

Ctrl+shift+n lookup file

Ctrl+shift+f looks for a piece of code in a directory (an upgraded version of ctrl+f)

Ctr+shift+r looks for a piece of code in a directory and replaces it (an upgraded version of ctrl+r)

CTRL+ALT ← / → returns the location where it was last edited

ALT+ ← / → switch code view, label switch

ALT+ ↑ / ↓ quickly moves and locates between methods

Ctrl+j insert active code hint

Insert surround code in ctrl+alt+t 's current location

Alt+insert generate Code menu

Ctrl+q View Code comments

Ctrl+d copies the current line

Ctrl+y deletes the current line

Shift+F6 renaming

Ctrl+shift+u letter case conversion

Ctrl+f search

Ctrl+r replacement

F4 view the source code

Ctrl+shift+i view variable or method definition source

Ctrl+g jumps to another line

Ctrl+alt+F12 jumps to the location of the current file on disk

Alt+down to see the next method

Alt+up looks at the previous method

Ctrl+alt+l reformats the code

Ctrl+shift+downstatement moves down

Ctrl+shift+upstatement moves up

Alt+shift+downline moves down

Alt+shift+upline moves up

Ctrl+/ line comment

Ctrl+shift+/ block comment

Ctrl+shift+n opens files in the project

Ctrl+b jumps to variable declaration

Ctrl+ [] matches {} []

Ctrl+shift+] / [check block code

Ctrl+x cut Row

Ctrl+shift+v copies multiple text

Alt+left/right tag toggle

Ctrl+p displays default parameters

Ctrl+F12 quickly finds the method in the current class file

-

Phpstorm shortcut key:

/ / ctrl+shift+n looks for files

/ / ctrl+j insert active code hint

/ / insert the surround code in the current location of ctrl+alt+t

/ / alt+insert generate Code menu

/ / ctrl+q view code comments

/ / ctrl+d copies the current line

/ / ctrl+y deletes the current line

/ / shift+F6 rename

/ / ctrl+shift+u letter case conversion

/ / ctrl+f search

/ / ctrl+r replacement

/ / F4 View the source code

/ / ctrl+shift+i view variable or method definition source

/ / ctrl+g jumps to another line

/ / ctrl+alt+F12 jumps to the current file location on disk

/ / alt+down to view the next method

/ / alt+up view the previous method

/ / ctrl+alt+l reformat the code

/ / ctrl+shift+down statement moves down

/ / ctrl+shift+up statement moves up

/ / alt+shift+down line moves down

/ / alt+shift+up line moves up

/ / ctrl+/ line comments

/ / ctrl+shift+/ block comments

/ / ctrl+shift+n Open the file in the project

/ / ctrl+b jumps to variable declaration

/ / ctrl+ [] matches {} []

/ / ctrl+shift+] / [check the block code

... .

/ / ctrl+x cut line

/ / ctrl+shift+v copies multiple text

/ / alt+left/right tag switch

/ / ctrl+p displays default parameters

/ / ctrl+F12 quickly find the method in the current class file

This is the content of "shortcuts commonly used in PHP IDE phpstorm". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

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