Phpstorm is a commercial PHP integrated development tool developed by JetBrains, and Phpstorm is ready to help users adjust their coding, run unit tests or provide visual debug functionality. Phpstrom, a plug-in named Magicento, is useful for quickly creating Magento plugins.
Common shortcut keys
Set shortcut keys: Select "Eclipse" and then "copy" one copy and re-personalize (your own) shortcut keys, Settings, IDE Settings, File, and so on
Common shortcut keys (keymaps:default case)
ESC key Editor (from tool window)
F1 help don't press, very card!
F2 (SHIFT+F2)/high-gloss error or warning quick location
F3 down find where the keyword appears
F4 finding the source of a variable
F5 Copying files/folders
F6 Mobile
F11 Toggle Bookmarks
F12 back to the previous tool window
Note : Some shortcut keys must be used without changing the shortcut
Query Shortcut
ctrl+n Find a class
ctrl+shift+n find a file, open the file in the project ( Similar to ctrl+shift+r in Eclipse) to open a file in any directory under the current project
ctrl+shift+alt+n Find a method or variable (JS)
in a class cirl+b Find the source of the variable, jump to the variable declaration
ctrl+alt+b Find all the subclasses
ctrl+shift+b the class of the variable you are looking for
ctrl+g Anchor Row, jump line
ctrl+f find text in current window
ctrl+shift+f find text in the specified path
ctrl+r Current window Replace text
ctrl+shift+r replace text in specified path
alt+shift+c Find modified file, recent change history
ctrl+e recently opened file
F3 Find Next
shift+f3 find the previous
f4 lookup variable source
ctrl+alt+f7 Selected characters find where the project appears
Alt+f7 directly queries the selected characters
Ctrl+f7 file to query the selected characters
Automatic code
ALT + ENTER import package, auto fix
Ctrl+alt+l Formatting Code
Ctrl+alt+i Auto Indent
Ctrl+alt+o Optimizing imported classes and Packages
Ctrl+e recently changed files/codes
Ctrl+shift+space Switch window
Ctrl+space Space Code automatic completion, code hints, general and input method conflicts
Ctrl+alt+space class name or interface name hint (conflicts with system)
Ctrl+p method parameter hints, showing default parameters
CTRL+J Automatic code hints, auto-completion
Ctrl+alt+t put the selected code in try{} if{} else{}
Alt+insert generate code (such as Get,set method, constructor, etc.)
Copy Shortcut
F5 Copying files/folders
CTRL + C copy
Ctrl + V Paste
Ctrl+x Cut, Delete row
Ctrl+d Copying rows
Ctrl + Y Delete Row caret
Ctrl+shift+v can copy multiple text
Highlight
ctrl+f selected text, highlighting jumps up or down to the next or previous
F2 (SHIFT+F2) highlighting error or warning quick location
shift+ f2 highlighting error or warning quick position
ctrl+shift+f7 highlight multiple keywords.
Local History vcs/svn
Alt + Reverse quotation marks (') quickly pops up VCs menu
Ctrl + K Submit project VCs
Ctrl + T Update project from VCs
Alt + Shift + C See Recent changes
Other Shortcuts
CTRL + Z Backwards (code regrets)
Ctrl+shift+z forward
CTRL+H Display class structure diagram
Ctrl +F12 File Structure Popup
Hierarchy of Ctrl+shift+h methods
Ctrl+alt+h Call Hierarchy
Ctrl+q Show Code comments
Ctrl+w selected code, continuous press will have other effects
Ctrl+shift+w reduce the current selection to the previous state
Ctrl+b go to Declaration, quickly open the class or method description comment at the cursor (CTRL + mouse click can also)
Ctrl+o Magic Method
ctrl+/Comments//Uncomment
ctrl+shift+/Comment/*...*/
CTRL + [] cursor moves to {}[] start or end position
Ctrl+shift+[] Check the block code to quickly copy
CTRL + '-/+ ': You can collapse any code block in the project, including any nodetype=3 element in the HTM, function, or object direct amount, and so on. It is not selected for folding, but is automatically recognized for folding.
CTRL + '. ': Collapse the code of the selected code
Ctrl+shift+u selected character-case conversions
Ctrl+shift+i Quick View variable or method definition source
CTRL+ALT+F12 Explorer opens a folder and jumps to the location of the current file on disk
ALT+F1 Select any view in the current File or menu toolbar
Shift+alt+insert Vertical Edit mode
ctrl+alt←/→ return to last edited position
alt+←/→ Toggle Code View, Tag toggle
Alt+↑/↓ fast positioning between methods
ALT + ' 7 ': Displays the current class/function structure. Similar to the effect of outline in eclipse. Experiment, to Aptana than the power of some, but still can not fully display prototype the following method name.
Shift+f6 Rename, refactor variable rename/refactor in the current region
Not only can you rename the file name, but you can also name the function name, the function name can search for the referenced file, and you can rename the local variable. You can also rename tag names. There is a similar shortcut key in sublime text: Ctrl+shift+d.
Ctrl+shift+enter (Smart perfect code such as if ())
Ctrl+shift+up/down (move row, merge selected row, code Select Area up/down move)
Ctrl+up/down cursor jumps to the first or last line of the editor display area
ESC cursor returns to edit box
Shift+esc the cursor back to the edit box, close the useless window
Ctrl+f4 Close the current editor or tab
Ctrl + Alt + V Introducing variables
Ctrl + Alt + F similar to introducing variables
Ctrl + ALT + C Introducing Constants
Ctrl + TAB Toggle Tabs and tool windows
Ctrl + Shift + A find shortcut keys
ALT + #[0-9] Open the appropriate tool window
Ctrl + Shift + F12 Toggle Maximize Editor
Alt + Shift + F Add to Favorites
Alt + Shift + I Check the current file with the current configuration file
Ctrl + anti-quote (') quick switch current color/code scheme/shortcut key scheme/interface scheme
Ctrl + Alt + S Open Settings dialog (conflict with QQ)
Run
Alt + Shift + F10 Select the configuration and run
Alt + Shift + F9 Select configuration and debugging
Shift + F10 Run
Shift + F9 Debugging
Ctrl + Shift + F10 run in-scope configuration Editor
Ctrl + Shift + x Run command line
Debugging
F8 Step Over
F7 Step Into
Shift + F7 Smart Entry
Shift + F8 Step
ALT + F9 Run to Cursor
Alt + F8 Calculation expression
F9 Recovery Program
Ctrl + F8 Toggle Breakpoints
Ctrl + Shift + F8 View breakpoints
Navigation
Shift + ESC hides the active or last activated window
Ctrl + Shift + F4 close active run/message//... Options tab
Ctrl + Shift + BACKSPACE keys to navigate to the last edited position
Ctrl + Alt+b to implementation (S)
Ctrl + shift+i to open a quick definition query
Ctrl + U go to Super-method/super-class
Alt + Home Combo Show navigation bar
Bookmark
Ctrl + F11 Toggle Bookmark mnemonics
Ctrl +#[0-9] go to numbered bookmarks
Shift + F11 Display bookmarks
Edit
Ctrl + Q Quick Document Query
ALT + INSERT Generated code ... (Getter,setter method, constructor)
Ctrl + O override method
Ctrl + I Implementation method
Alt + Enter Explicit action and quick fix
Shift + Tab indent/un-indent selected rows
Ctrl + Shift + J Smart Wire connection (for HTML and JavaScript only)
Ctrl + Enter Smart line Segmentation (HTML and JavaScript)
Shift + Enter to start a new line
Ctrl + DELETE Delete Word (word)
Ctrl + BACKSPACE Delete Word start
Ctrl + numpad +/-expand/Collapse code blocks
Ctrl + Shift + keypad + Expand All
Ctrl + Shift + numeric keypad off all
Such as
1. Interface Chinese box problem
In Settings->appearance
Theme Setting up Windows
Tick override default fonts by (not recommended), set font to Arial
2. Display line numbers
Settings->editor->appearance tab, tick show line numbers
3. Cursor is not positioned arbitrarily
Settings->editor remove allow placement of the caret after end of the line.
4. Do not open the project file when starting
Settings->general remove reopen last project on startup.
5. Unable to start Tomcat (IntelliJ idea)
Please use the zip version of Tomcat
6. Shortcut key Issues
You can use the shortcut keys for other software,
Settings->keymap
7. Shortcut key conflict (self-modification)
Default code hints and complement shortcut keys conflict with IME, how to resolve: Settings->keymap
In the image above, click Copy to create a new schema for yourself, such as T1
Then start to set the shortcut keys, when modified, right-click Will pop-up menu, such as, change to the shortcut you want
8. Mark the edited file with *
Editor–> Editor Tabs
check mark modifyied tabs with asterisk
9. Encoding settings: Chinese garbled problem in editor
This is a project character encoding setup error
FILE->settings-> has 3 settings set according to your needs
IDE encondings:ide encoding, select IDE encoding as GBK. You're going to have to adjust for yourself here.
Project Encoding: Item encoding
Default encoding for properties files: Defaults file encoding
10. Font and size in editor
Settings> editor->colors & Fonts, Font-Right, FILE--
Size: Font sizes
Line spacing: Row spacing
The font is in the bottom box, the font is selected on the left, and the font is actually applied to the right.
11. display folder or file filtering
File->setting->file Types->ignore File and folders
Fill in the filter you want to not show
Pay attention to case,
12. Current Edit file positioning
Method 1) in the edited selected file, press ALT+F1, and then select Project VIEW
Method 2) Position icon at the top of the project list box on the left
13. Optimize file saving
File->settings->general->
Synchronize file on frame activation: Individual needs to cancel synchronizing files
Save files on framedeactivation: Cancel
Save files automatically: Check, set auto Save, set 30 seconds AutoSave time, so idea can still automatically keep the file, so you need to press Ctrl+s to save the file each time you switch
14.SVN settings
Setting->version control-> Right VCS below select Subversion
The more popular Phpstorm registration code on the network:
User name: Embrace
Registration code:
===== LICENSE BEGIN =====
11674-12042010
0000064na0kkqi8qwpbf1rebulp2js
SHB1N3EDL6MUR9LNHPXZMTXV "Zznja
Dvi1nwuvh7uuz8fgwan8wejhhhtfop
===== LICENSE END =====
User name: Embrace
Registration code:
===== LICENSE BEGIN =====
11674-12042010
0000064na0kkqi8qwpbf1rebulp2js
SHB1N3EDL6MUR9LNHPXZMTXV "Zznja
Dvi1nwuvh7uuz8fgwan8wejhhhtfop
===== LICENSE END =====
Phpstorm shortcut key use (reprint)