PHPStorm IDE shortcut (MAC Version)

 

⌘——Command

⌃ ——Control

⌥ - Option / Alt

⇧——Shift

⇪——Caps Lock

fn-- function key is fn

edit


Command + alt + T a (if..else, try..catch, for, etc. ) wrap
Command + / comment / uncomment line comments
Command + alt + / comment / uncomment block comments
alt + ↑ selected code blocks up
alt + ↓ block selection down
Command + alt + L formatting codes
tab, shift + tab adjust the indent
Control + alt + I quickly adjust the indent
Command + C copy
Command + X cut
Command + V paste
Command + shift + V select paste from the clipboard
Command + copy the code replica D
Command + the delete to delete the current line
Control + Shift + J to clear indentation becomes one-way
shift + carriage return line feed Quick
Command + carriage return line cursor still in the original location
Command + shift + U case conversion
Command + shift + [, Command + shift +] file tab fast handover
Command + plus, Command + minus shrinkage block
Command + shift + plus, Command + shift + minus shrinkage of code blocks in the entire document
Command + W is close current file tab
alt + click multiple cursor positioning
Control + shift + J received the following indented line up
shift + F6 advanced editing, the label can be quickly modified cursor, variables, functions, and so
alt + / Code Completion

debugging


Control + alt + R to run the project
Command + Control + R to run Debug
the Command + F8 to add a breakpoint
Command + shift + F8 to open the list of breakpoints

navigation


Command + O to jump to a class
Command + shift + O to jump to a file
Command + alt + O to jump to a symbol
Control + ←, Control + → Go up / down one editor tab
F12 to open before opening tool window (TODO, terminal, etc.)
the Command line + L Jump
Command + E pop latest file
Command + alt + ←, Command + alt + → navigate backwards and forwards to the junction block (typically an empty line of)
the Command + Shift + delete navigate to the location on the edit position of a
Command + B jump to the variable declaration
Control + J acquisition variable information (type, notes, etc., is to take comment on the comment line)
when small floating window Command + Y display variable declarations line
Command + [, Command +] cursor current position and the previous position of the switching
Command + F12 file structure pop-up menu
alt + hierarchy H class
F2, shift + F2 is switched to the \ a projection error location
Command + ↑ Jump the navigation
F3 bookmark
alt + F3 bookmark with mnemonic
alt + 1, alt + 2 ... switch to the appropriate bookmark location mnemonic
Command + F3 to open the bookmark list

VCS / local history


control + V to open the VST small floating window
Command + K submitted project
Command + T updates
alt + shift + C to open the list of recent changes

Search and Replace


Command + F Search
Command + R replace
Command + G Find Next
Command + shift + G Find Next
Command + shift + F Search path
Command + shift + R replaced by path

Select the text search


Command + F7 statement to the local search and select
+ shift + F7 to open the search box to search the Command
the Command + alt + F7 to open a small floating window displays the search list

The operation of the project file (reconstruction)


Copy the file to a directory F5
F6 move the file to a directory
Command + delete secure deletion
shift + F6 Rename

Global


Double-click the shift small pop-up floating window to search for all
Command + ~ 切换项目 Command+shift+~ reverse switch project (switch between different projects that opens)
the Command + shift + A lookup operation of the whole project
Command + 1, Command + 2 ... Open the various tool windows
alt + shift + F to add files to favorites
alt + shift + I to open the item description
alt + ~ to quickly switch the current plan
Command +, set the editor
to switch between tabs, and Control + tab tool window
alert + Enter to display a list of npm version upgrade

 

Guess you like

Origin www.cnblogs.com/catherLee/p/11896735.html