Common phpstorm shortcuts and phpstorm shortcuts
========= Esc key Editor (from the tool window) =========
F1 helps you never press it. It's very slow!
F2 (Shift + F2) Bottom/top highlighted errors or warnings quick locating
F3: locate the keyword
F4 find the variable source
F5 copy file/folder
F6 mobile
F11 bookmarks Switching
F12 returns to the previous tool window
Note: Some shortcut keys can be used only when no shortcut keys are changed.
========= Query Shortcut Keys ==========
CTRL + N lookup class
CTRL + SHIFT + N find the file, open the file in the project (similar to ctrl + shift + R in eclipse), the purpose is to open the file in any directory of the current project
CTRL + SHIFT + ALT + N query methods or variables in the class (JS)
CIRL + B find the source of the variable and jump to the variable Declaration
CTRL + ALT + B find all subclasses
CTRL + SHIFT + B find the variable class
CTRL + G locate the row and jump to the row
CTRL + F search for text in the current window
CTRL + SHIFT + F search for text in the specified path
CTRL + R replace text in the current window
CTRL + SHIFT + R replace text in the specified path
ALT + SHIFT + C find the modified file, recent change history
CTRL + E recently opened files
F3 find next
SHIFT + F3 find the previous one
F4 find the variable source
CTRL + ALT + F7 select character search where the project appears
ALT + F7 query selected characters directly
Query the selected characters in the Ctrl + F7 File
========= Automatic Code ============
ALT + press enter to import the package, automatically corrected
CTRL + ALT + L format the code
CTRL + ALT + I auto indent
CTRL + ALT + O optimized imported classes and packages
CTRL + E recently changed file/code
CTRL + SHIFT + SPACE switch window
The CTRL + SPACE Code is automatically completed, and the code prompt is displayed, which is generally in conflict with the input method.
CTRL + ALT + SPACE class name or interface name prompt (conflicts with the System)
Press CTRL + P to display the default parameters.
CTRL + J Automatic code prompt, Automatic completion
CTRL + ALT + T put the selected code in TRY {} IF {} ELSE {}
ALT + INSERT generate code (such as GET, SET method, constructor, etc)
========== Copy shortcuts ============
F5 copy file/folder
CTRL + C copy
CTRL + V Paste
CTRL + X cut and delete rows
CTRL + D copy rows
Ctrl + Y Delete the row insertion symbol
CTRL + SHIFT + V can copy multiple texts
================================
CTRL + F the selected text, highlighted and jumped up to the next or the previous one
F2 (Shift + F2) Highlight error or warning quick locating
SHIFT + F2 highlight error or warning quick locating
CTRL + SHIFT + F7 highlight multiple keywords.
========= Local history VCS/SVN ==========
Alt + reversed quotation marks (") to quickly pop up the VCS menu
Ctrl + K submit project VCS
Ctrl + T update the project from VCS
Alt + Shift + C View recent changes
========= Other shortcuts ==========
CTRL + Z regressing (Code regret)
CTRL + SHIFT + Z forward
CTRL + H explicit Class Structure
Ctrl + F12 file structure pop-up
Ctrl + Shift + H method hierarchy
Ctrl + Alt + H call Level
CTRL + Q display code comments
CTRL + W select the code, continuous press will have other effects
Ctrl + Shift + W reduce current selected to previous status
CTRL + B go to Declaration, and quickly open the class or method description comment at the cursor (CTRL + Click it)
CTRL + O magic Method
CTRL +/comment // cancel the comment
CTRL + SHIFT +/comment /*...*/
CTRL + [] move the cursor to the beginning or end position {} []
CTRL + SHIFT + [] selected block code, which can be quickly copied
Ctrl + "-/+": You can collapse any code block in the project, including any nodetype = 3 elements, functions, or direct object volume in htm. It automatically identifies and folds instead of selected folds.
Ctrl + ".": collapse the code of the selected code
Ctrl + Shift + U select case-insensitive Conversion
Ctrl + shift + I Quick View of variable or method definition sources
CTRL + ALT + F12 resource manager open the folder and jump to the current file location on the disk
ALT + F1 select the current file or any view toolbar in the menu
SHIFT + ALT + INSERT vertical editing mode
CTRL + ALT ←/→ return the Last edited position
ALT + ↓/→ switch the Code view and switch tags
ALT + ↑/↓ fast moving and locating between methods
Alt + "7": displays the current class/function structure. Similar to the outline effect in eclipse. The experiment is better than aptana, but the method name under prototype cannot be fully displayed.
SHIFT + F6 rename, rename or refactor the variables in the current region
You can not only rename the file name, but also name the function. The function name can search for referenced files and rename local variables. You can also rename the tag name. There is a similar shortcut key in sublime text: ctrl + shift + d.
Ctrl + shift + enter (intelligently complete code such as if ())
Ctrl + shift + up/down (move rows, merge selected rows, move up/down the selected area of the Code)
CTRL + UP/DOWN the cursor jumps to the first or last line of the editor display area
ESC cursor return to edit box
SHIFT + ESC: Return to the editing box to close useless windows.
CTRL + F4 close the current editor or tab
Ctrl + Alt + V introduce variable
Ctrl + Alt + F similar variables
Ctrl + Alt + C introduce Constants
Ctrl + Tab key switch Tab and tool window
Ctrl + Shift + A shortcut
Alt + # [0-9] Open the corresponding tool window
Ctrl + Shift + F12 switch to maximize Editor
Alt + Shift + F add to favorites
Alt + Shift + I check the current file and the current configuration file
Ctrl + reverse quotation marks (') to quickly switch the current color/code scheme/shortcut key scheme/Interface Scheme
Ctrl + Alt + S open the Setting Dialog Box (conflict with QQ)
========== Run ==========
Alt + Shift + F10 selected configuration and operation
Alt + Shift + F9 select Configuration and debugging
Shift + F10 run
Shift + F9 debugging
Ctrl + Shift + F10 configuration Editor within the running range
Ctrl + Shift + X Run Command Line
========= Debugging =============
Step F8
Step into F7
Shift + F7 smart access
Shift + F8 steps
ALT + F9 run to cursor
Alt + F8 Calculation Expression
F9 Recovery Program
Ctrl + F8
Ctrl + Shift + F8 view breakpoints
========= Navigation ============
Shift + Esc key hide activity or last activated window
Ctrl + Shift + F4 close activity run/message //... Tab
Ctrl + Shift + Backspace key navigation to the Last edited location
Ctrl + Alt + B to implementation (S)
Ctrl + Shift + I open quick definition Query
Ctrl + U to super-method/super-class
Alt + Home combination display navigation bar
========= Bookmarks ==========
Ctrl + F11 switch bookmarks
Ctrl + # [0-9] Go to the numbered bookmarks
Shift + F11 show bookmarks
========== Edit ============
Ctrl + Shift + J Join Lines
Ctrl + Q quick document Query
Code generated by ALT + INSERT... (getter, setter method, constructor)
Ctrl + O override method
Ctrl + I Implementation Method
Alt + Enter explicit actions and quick fixes
Shift + Tab key indent/unindent selected rows
Ctrl + Shift + J smart line connection (applicable only to HTML and JavaScript)
Ctrl + Enter smart line segmentation (HTML and JavaScript)
Shift + Enter start new production line
Ctrl + Delete (word)
Ctrl + Backspace Delete start
Ctrl + keypad +/-expand/collapse code blocks
Ctrl + Shift + keypad + show all
Ctrl + Shift + numeric keyboard close all
Phpstorm is a commercial PHP integrated development tool developed by JetBrains. PhpStorm can help users adjust their codes at any time, run unit tests, or provide visual debug functions. A plug-in named Magicento of Phpstrom is very useful for quick creation of Magento plug-ins.
Common shortcut keys
Set the shortcut key: File-> Settings-> IDE Settings-> Keymap-> select "eclipse"-> "Copy"-> customize the shortcut key (As You Like)
Common shortcut keys (in case of keymaps: Default)
Esc key Editor (from the tool window)
F1 helps you never press it. It's very slow!
F2 (Shift + F2) Bottom/top highlighted errors or warnings quick locating
F3: locate the keyword
F4 find the variable source
F5 copy file/folder
F6 mobile
F11 bookmarks Switching
F12 returns to the previous tool window
Note:: Some shortcut keys can be used only when no shortcut keys are changed.
Query shortcuts
CTRL + N lookup class
CTRL + SHIFT + N find the file, open the file in the project (similar to ctrl + shift + R in eclipse), the purpose is to open the file in any directory of the current project
CTRL + SHIFT + ALT + N query methods or variables in the class (JS)
CIRL + B: Find the source of the variable and jump to the variable declaration.
CTRL + ALT + B find all subclasses
CTRL + SHIFT + B find the variable class
CTRL + G locate the row and jump to the row
CTRL + F search for text in the current window
CTRL + SHIFT + F search for text in the specified path
CTRL + R replace text in the current window
CTRL + SHIFT + R replace text in the specified path
ALT + SHIFT + C find the modified file, recent change history
CTRL + E recently opened files
F3 find next
SHIFT + F3 find the previous one
F4 find the variable source
CTRL + ALT + F7 select character search where the project appears
ALT + F7 query selected characters directly
Query the selected characters in the Ctrl + F7 File
Automatic Code
ALT + press enter to import the package, automatically corrected
CTRL + ALT + L format the code
CTRL + ALT + I auto indent
CTRL + ALT + O optimized imported classes and packages
CTRL + E recently changed file/code
CTRL + SHIFT + SPACE switch window
The CTRL + SPACE Code is automatically completed, and the code prompt is displayed, which is generally in conflict with the input method.
CTRL + ALT + SPACE class name or interface name prompt (conflicts with the System)
Press CTRL + P to display the default parameters.
CTRL + J Automatic code prompt, Automatic completion
CTRL + ALT + T put the selected code in TRY {} IF {} ELSE {}
ALT + INSERT generate code (such as GET, SET method, constructor, etc)
Copy shortcuts
F5 copy file/folder
CTRL + C copy
CTRL + V Paste
CTRL + X cut and delete rows
CTRL + D copy rows
Ctrl + Y Delete the row insertion symbol
CTRL + SHIFT + V can copy multiple texts
Highlight
CTRL + F the selected text, highlighted and jumped up to the next or the previous one
F2 (Shift + F2) Highlight error or warning quick locating
SHIFT + F2 highlight error or warning quick locating
CTRL + SHIFT + F7 highlight multiple keywords.
Local History VCS/SVN
Alt + reverse quotation marks (') to pop up the VCS menu quickly
Ctrl + K submit project VCS
Ctrl + T update the project from VCS
Alt + Shift + C View recent changes
Other shortcuts
CTRL + Z regressing (Code regret)
CTRL + SHIFT + Z forward
CTRL + H explicit Class Structure
Ctrl + F12 file structure pop-up
Ctrl + Shift + H method hierarchy
Ctrl + Alt + H call Level
CTRL + Q display code comments
CTRL + W select the code, continuous press will have other effects
Ctrl + Shift + W reduce current selected to previous status
CTRL + B go to Declaration, and quickly open the class or method description comment at the cursor (CTRL + Click it)
CTRL + O magic Method
CTRL +/comment // cancel the comment
CTRL + SHIFT +/comment /*...*/
CTRL + [] move the cursor to the beginning or end position {} []
CTRL + SHIFT + [] selected block code, which can be quickly copied
Ctrl + '-/+': You can collapse any code block in the project, including any nodetype = 3 element, function, or direct object volume in htm. It automatically identifies and folds instead of selected folds.
Ctrl + '.': collapse the code of the selected code
Ctrl + Shift + U select case-insensitive Conversion
Ctrl + shift + I Quick View of variable or method definition sources
CTRL + ALT + F12 resource manager open the folder and jump to the current file location on the disk
ALT + F1 select the current file or any view toolbar in the menu
SHIFT + ALT + INSERT vertical editing mode
CTRL + ALT ←/→ return the Last edited position
ALT + ↓/→ switch the Code view and switch tags
ALT + ↑/↓ fast moving and locating between methods
Alt + '7': displays the current class/function structure. Similar to the outline effect in eclipse. The experiment is better than aptana, but the method name under prototype cannot be fully displayed.
SHIFT + F6 rename, rename or refactor the variables in the current region
You can not only rename the file name, but also name the function. The function name can search for referenced files and rename local variables. You can also rename the tag name. There is a similar shortcut key in sublime text: ctrl + shift + d.
Ctrl + shift + enter (intelligently complete code such as if ())
Ctrl + shift + up/down (move rows, merge selected rows, move up/down the selected area of the Code)
CTRL + UP/DOWN the cursor jumps to the first or last line of the editor display area
ESC cursor return to edit box
SHIFT + ESC: Return to the editing box to close useless windows.
CTRL + F4 close the current editor or tab
Ctrl + Alt + V introduce variable
Ctrl + Alt + F similar variables
Ctrl + Alt + C introduce Constants
Ctrl + Tab key switch Tab and tool window
Ctrl + Shift + A shortcut
Alt + # [0-9] Open the corresponding tool window
Ctrl + Shift + F12 switch to maximize Editor
Alt + Shift + F add to favorites
Alt + Shift + I check the current file and the current configuration file
Ctrl + reverse quotation marks (') to quickly switch the current color/code scheme/shortcut key scheme/Interface Scheme
Ctrl + Alt + S open the Setting Dialog Box (conflict with QQ)
Run
Alt + Shift + F10 selected configuration and operation
Alt + Shift + F9 select Configuration and debugging
Shift + F10 run
Shift + F9 debugging
Ctrl + Shift + F10 configuration Editor within the running range
Ctrl + Shift + X Run Command Line
Debugging
Step F8
Step into F7
Shift + F7 smart access
Shift + F8 steps
ALT + F9 run to cursor
Alt + F8 Calculation Expression
F9 Recovery Program
Ctrl + F8
Ctrl + Shift + F8 view breakpoints
Navigation
Shift + Esc key hide activity or last activated window
Ctrl + Shift + F4 close activity run/message //... Tab
Ctrl + Shift + Backspace key navigation to the Last edited location
Ctrl + Alt + B to implementation (S)
Ctrl + Shift + I open quick definition Query
Ctrl + U to super-method/super-class
Alt + Home combination display navigation bar
Bookmarks
Ctrl + F11 switch bookmarks
Ctrl + # [0-9] Go to the numbered bookmarks
Shift + F11 show bookmarks
Edit
Ctrl + Q quick document Query
Code generated by ALT + INSERT... (getter, setter method, constructor)
Ctrl + O override method
Ctrl + I Implementation Method
Alt + Enter explicit actions and quick fixes
Shift + Tab key indent/unindent selected rows
Ctrl + Shift + J smart line connection (applicable only to HTML and JavaScript)
Ctrl + Enter smart line segmentation (HTML and JavaScript)
Shift + Enter start new production line
Ctrl + Delete (word)
Ctrl + Backspace Delete start
Ctrl + keypad +/-expand/collapse code blocks
Ctrl + Shift + keypad + show all
Ctrl + Shift + numeric keyboard close all