(1) Phpstorm setting lets it display line numbers by default
Settings->editor->general->appearance fourth check Show line numbers
(2)Phpstorm displays the functions contained in the current page on the right side (shortcut ALT + 7)
View->tool windows->structure
(3) Phpstorm display the project directory structure on the left (shortcut ALT + 1)
View->tool Windows->project
Shortcut keys (Common)
Query shortcut keys
CTRL + N Lookup class ctrl+shift+n Global search file, preference file name matching files ctrl+shift+alt+n Find PHP class name/variable name, JS method name/variable name, CSS selector cirl+b find the source of the variable, jump to the variable declaration (CTRL + Mouse click) Ctrl+alt+b find all subclasses that inherit the interface or parent, count the number of all subclasses ctrl+shift+b the class of the variable (not very welcome) Ctrl+g anchor Row, jump line ctrl+f find text in the current window ctrl+shift+f Finds text characters in the specified path ctrl+r the current window replaces the text ctrl+shift+r the specified path replaces the text ctrl+e the recently opened file Ctrl+j automatic code hints, auto-completion, or you can directly enter the corresponding simple spelling, Press the TAB key (like Linux command completion) ALT + ENTER import package, auto fix
Ctrl+p method parameter hint, show default parameter Alt+insert generate code (such as Get,set method, constructor, etc.), the cursor is in class only ctrl+alt+o optimize imported classes and packages need to configure ctrl+shift+space switch window
Ctrl+space Space Code automatic completion, code hints, general and input method conflicts
Ctrl+alt+t put the selected code in try{} if{} else{}
Copy Shortcut
CTRL + C copy
Ctrl + V Paste
Ctrl+x Cut, Delete row
Ctrl + Y Delete Row caret
Ctrl+d copy lines, quickly distribute Li tags, etc.
Highlight: Shift+f2 highlight error or warning Quick location error, multiple error loop highlighting
Local History VCS/SVN
Phpstorm Connection svn See also : http://blog.csdn.net/Knight_quan/article/details/51889476
Ctrl + K Submit project VCs
Ctrl + T update items from VCs
Alt + Shift + C View Project Recent file version change file, ctrl+e just view the modified file
Other Shortcuts
CTRL + Z Backwards (code regrets)
Ctrl+shift+z forward
Ctrl+h Display class-level diagrams, inheritance/implementation relationships
ctrl+/single-line comment/Cancel comment
ctrl+shift+/Block comment/Suppress block comment
Ctrl+shift+u selected character-case conversions
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+alt←/→ return to last edited position
alt+←/→ Toggle Code View, Tag toggle
Alt+↑/↓ fast positioning between methods
Ctrl+shift+enter (Smart perfect code such as if ())
Ctrl+shift+up/down (move row, merge selected row, code Select Area up/down move)
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.
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.
Edit
Ctrl + Q Quick Document Query
ALT + INSERT Generated code ... (Getter,setter method, constructor)
Ctrl + O override method
Ctrl + I Implementation method
Ctrl + J Active code hints
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 entire word, simple Backspace single character delete
Run
Alt + Shift + F10 Select the configuration and run
Ctrl + Shift + X Run command line
Alt + Shift + F9 Select configuration and debugging
Shift + F10 Run
Shift + F9 Debugging
Ctrl + Shift + F10 run in-scope configuration Editor
Hierarchy of Ctrl+shift+h methods
Ctrl+alt+h Call Hierarchy
Ctrl+q Show Code comments
ALT+F1 Select any view in the current File or menu toolbar
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
Ctrl + anti-quote (') quick switch current color/code scheme/shortcut key scheme/interface scheme
Ctrl + Alt + S Open Settings dialog (conflict with QQ)
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
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
Phpstorm Tips for use