PHP IDE phpstorm Common shortcut keys _php tips

Source: Internet
Author: User

First, Mac computer phpstorm shortcut keys

Command + a Select all
Command + C replication
Command + V Paste
Command + z Undo
Command + K code Search
Command + L Enter line number jump to a line
Command + o View the structure of a class
Command +/Single-line Comment
Command + e lists the last files opened
CTRL + SHIFT +/Block Comment
SHIFT + COMMAND + X
SHIFT + COMMAND + R search for the path of the corresponding file by file name
SHIFT + COMMAND + t search for the path of the corresponding file by class name
SHIFT + COMMAND + C Copy the path of the current file
Select filename on left SHIFT + F6 (Mac needs to hold key simultaneously) for file renaming

Second, Windows under the Phpstorm shortcut keys

Ctrl+shift+n Find Files

Ctrl+shift+f find a section of code in a directory (upgraded version of Ctrl+f)

Ctr+shift+r look up a section of code in a directory and replace it (Ctrl+r's upgraded version)

ctrl+alt←/→ returns the location of the last edit
alt+←/→ switch code view, TAB switch
Alt+↑/↓ fast moving location between methods

CTRL+J Insert Activity Code hint
Ctrl+alt+t inserts the wrapping code at the current position
Alt+insert Generate Code Menu
Ctrl+q View Code comments
Ctrl+d Replication as Forward
Ctrl+y Delete When moving forward
Shift+f6 renaming
Ctrl+shift+u Letter Case Conversion
Ctrl+f Find
Ctrl+r replacement
F4 View Source

Ctrl+shift+i view variable or method definition source
Ctrl+g Jump Career
CTRL+ALT+F12 jumps to the current file's location on disk
Alt+down View Next method
Alt+up View Previous method
Ctrl+alt+l Reformatting Code
Ctrl+shift+downstatement Move Down
Ctrl+shift+upstatement Move Up
Alt+shift+downline Move Down
Alt+shift+upline Move Up
ctrl+/Line Comment
ctrl+shift+/block annotations
Ctrl+shift+n Open the file in the project
Ctrl+b jump to the variable declaration
Ctrl+[] Match {}[]
ctrl+shift+]/[Select Block Code
Ctrl+x Cut Line
Ctrl+shift+v Copy multiple text
Alt+left/right Label Switch
Ctrl+p Display Default Parameters
Ctrl+f12 quickly find methods in current class files

————————————————————–

Phpstorm shortcut keys:

Ctrl+shift+n Find Files
CTRL+J Insert Activity Code hint
Ctrl+alt+t inserts the wrapping code at the current position
Alt+insert Generate Code Menu

Ctrl+q View Code comments
Ctrl+d Replication as Forward
Ctrl+y Delete When moving forward
Shift+f6 renaming
Ctrl+shift+u Letter Case Conversion
Ctrl+f Find
Ctrl+r replacement
F4 View Source
Ctrl+shift+i view variable or method definition source
Ctrl+g Jump Career
CTRL+ALT+F12 jumps to the current file's location on disk
Alt+down View Next method
Alt+up View Previous method
Ctrl+alt+l Reformatting Code
Ctrl+shift+down statement Move Down
Ctrl+shift+up statement Move Up
Alt+shift+down Line moves down
Alt+shift+up Line moves up
ctrl+/Line Comment
ctrl+shift+/block annotations

Ctrl+shift+n Open the file in the project
Ctrl+b jump to the variable declaration
Ctrl+[] Match {}[]
ctrl+shift+]/[Select Block Code
....
Ctrl+x Cut Line
Ctrl+shift+v Copy multiple text
Alt+left/right Label Switch
Ctrl+p Display Default Parameters
Ctrl+f12 quickly find methods in current class files

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.