Uploaded by egor.uzh

ReferenceCardForMac

advertisement
Default macOS Keymap
Editing
Running
Space
P
Refactoring
Basic code completion
R
Run
Show intention actions and quick-fixes
D
Debug
Delete
Safe Delete
Run context configuration from editor
F6
Rename
Parameter info (within method call R or
arguments)
X
D
F5/F6
Run command line
J or Mid. button click Quick documentation lookup
Search/Replace
+ mouse over code
Brief Info
N,
Generate code... (Getters, Setters, F/ R
Constructors)
G/
, N
O
Override methods
I
Implement methods
T
Surround with... (if..else, try..catch, for, etc.)
/
Comment/uncomment with line comment
/
N
Inline Variable
M/V/F/C
Extract Method/Variable/Field/Constant
T
Refactor This (shows all available refactorings)
Find/Replace
G
F/
Find next/previous
R
Find/Replace in path
Usage Search
F7 /
Copy/Move
F7
VCS/Local History
V
‘VCS’ quick popup
K
Commit project to VCS
T
Comment/uncomment with block comment
F7
Highlight usages in file
Select successively increasing code blocks
F7
Show usages
Update project from VCS
C
Find usages / Find usages in file
View recent changes
General
Decrease current selection to previous state
L
Reformat code
I
Auto-indent line(s)
D
J
Search everywhere
Navigation
O
Go to class
F11
Toggle full screen mode
Delete line at caret
O
Go to symbol
F12
Toggle maximizing editor
Go to line
F
Add to Favorites
/
Go to next/previous editor tab
I
Inspect current file with current profile
Toggle case for word at caret or selected block
L
Go to editor (from tool window)
E
-
W
V
Select till code block end/start
/
F1
Expand/collapse code block
B or
Select current file or symbol in any view
Click
B
Close active editor tab
Space or
Y
B
Debugging
U
F8
Step over
/
F7
Step into
]/
F8
F8
F9
Step out
F2 /
Evaluate expression
F4 /
Open Settings dialog
Switch between tabs and tool window
Navigate back/forward
Navigate to last edit location
Delete to word start
Paste from history
,
Recent files popup
Delete to word end
+/
Open corresponding tool window
Go to file
Start new line
[
9
O
Smart line split (HTML and JavaScript only)
]/
0 ...
Find Action
Duplicate current line or selected block
Smart line join (HTML and JavaScript only)
U
A
[
F2
Live Templates / Snippets
J
Insert Live Template
Go to declaration
eco
‘echo’ statement
Go to implementation(s)
fore
foreach(iterable_expr as $value) {…}
Open quick definition lookup
forek
foreach(iterable_expr as $key => $value) {…}
Go to type declaration
inc/inco
‘include’/‘include_once’ statement
Go to super-method/super-class
prif
private function
Go to previous/next method
prof
protected function
Move to code block end/start
pubf
public function
Next/previous highlighted error
rqr/rqro
‘require’/‘require_once’ statement
Edit source / View source
and more...
Resume program
F8
F8
Toggle breakpoint
View breakpoints
To find any action inside the IDE use
Find Action (
A)
jetbrains.com/phpstorm
blog.jetbrains.com/phpstorm
@phpstorm
Download