Phpstorm Common shortcut keys

Source: Internet
Author: User
Tags sublime text

Common shortcut keys (keymaps:default case)

esc Key Editor (from tool window)
f1    help don't press, it's a card!
F2SHIFT+F2)   Down/high-gloss error or warning quick locate
f3    look down the keyword appears
f4    lookup variable Source
f5   Copy files/folders
F6   Move
F11   Toggle Bookmarks
F12   Return to previous tool windows

Note : Some shortcut keys must be used without changing the shortcut

Query shortcut keys
CTRL + N Find class
Ctrl+shift+n finds files, opens files in the project (similar to ctrl+shift+r in Eclipse) to open files in any directory under the current project
Ctrl+shift+alt+n find a method or variable (JS) in a class
Cirl+b to find the source of the variable,Jump to Variable declaration
Ctrl+alt+b Find all the subcategories
Ctrl+shift+b the class of finding variables
Ctrl+g positioning line, jumping career
Ctrl+f finding text in the current window
Ctrl+shift+f finding text in a specified path
Ctrl+r The current window replaces text
Ctrl+shift+r replacing text in a specified path
Alt+shift+c Find the modified file,Recent change history
ctrl+e    recently opened file
f3   Find the next
shift+f3   find the previous
f4    find the variable source
ctrl+alt+f7   the selected character find where the project appears
alt+f7 query the selected characters directly
Ctrl+f7   query for selected characters in file

automatic code
ALT + ENTER    Import package, auto fix
ctrl+alt+l   Format Code
ctrl+alt+i   Auto Indent
ctrl+alt+o   optimize imported classes and packages
Ctrl+e   Recently changed files/codes
ctrl+shift+ space  Switch window
ctrl+space space   Code autocomplete, code hints, general conflicts with IME
ctrl+alt+space    class name or interface name hint (conflicts with System)
ctrl+p    method parameter hint, display default parameters
ctrl+j    automatic code hints, auto-complete
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 files/folders
Ctrl + C   Copy
Ctrl +   paste
ctrl+x    cut , delete Row
Ctrl + Y     Delete Row caret
ctrl+shift+v   You 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 location
Ctrl+shift+f7 highlighting multiple keywords.
Local History VCS/SVN
ALT + anti-quote (') to quickly eject VCs menu
Ctrl + K Submit project VCs
Ctrl + T update items from VCs
Alt + Shift + C to 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,Refactoring variable renaming/refactoring 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 Move Up/down)
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

This article turns from http://blog.csdn.net/fenglailea/article/details/38311673

Phpstorm Common shortcut keys

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.