dojo
WebStorm / PhpStorm Cheatsheet
ShortcutFoo uses a Spaced Repetition System that adapts to your training.
scf keyboard

Editing I

^I
Implement base interface/class methods in the current class
^O
Override base class methods in the current class
^P
Show parameters of the method call at caret
^SPACE
Complete code
^⇧↵
Complete Current Statement
scf keyboard

Editing II

^⌥I
Indent current line or selected block according to the code style settings
^⌥L
Reformat code
^⇧V
Paste from recent clipboards
^⌥⇧V
Paste without formatting, autoimport, literal escaping etc.
⌥↵
Show Intention Actions
⇧TAB
Unindent Selection
scf keyboard

Editing III

^=
Expand folding region at caret
^⇧+
Expand all folding regions
^BACKSPACE
Delete to Word Start
^D
Duplicate Line or Block
^↵
Split Line
^Y
Delete Line
^⌥↵
Start New Line Before Current
⇧↵
Start New Line
^⇧J
Join Lines
^⇧U
Toggle Case
scf keyboard

Navigation I

F4
Open editor for the selected item and give focus to it
^B
Navigate to the declaration of the symbol at caret
^E
Show list of recently viewed files
^⌥F4
Open image in external editor
^⇧E
Show list of recently changed files
^2
Go to Bookmark 2
^4
Go to Bookmark 4
scf keyboard

Navigation II

F2
Navigate to the next highlighted error in the active editor
^H
Browse hierarchy for the selected class
^U
Navigate to the declaration of the method that current method overrides or implements
^⌥B
Navigate to the implementation of class or method
^⌥H
Browse call hierarchy for the selected method
⇧F2
Navigate to the previous highlighted error in the active editor
^⇧BACKSPACE
Move through the most recent change points
^⇧H
Browse method hierarchy for the selected method
^F11
Toggle Bookmark With Mnemonic
scf keyboard

Navigation III

^8
Go to Bookmark 8
F7
Move to the Next Difference
⇧F7
Move to the previous difference
⌥⇧DOWN
Move selected lines one line down
⌥⇧UP
Move selected lines one line up
^]
Move Caret to Code Block End
^[
Move Caret to Code Block Start
^⇧}
Move Caret to Code Block End with Selection
^⇧{
Move Caret to Code Block Start with Selection
^⇧RIGHT
Move Caret to Next Word with Selection
scf keyboard

Running / Debugging

⌥5
Activate Debug window
F7
Step to the next line executed
F8
Step to the next line in this file
F9
Resume program execution
⌥F8
Evaluate arbitrary expression
⌥F9
Run to the line where the caret is
⇧F10
Run
⇧F7
Step into the particular method
⇧F8
Step to the first line executed after returning from this method
⇧F9
Debug
⌥⇧F10
Choose and run configuration
⌥⇧F9
Choose and debug configuration
^⇧F8
View and manage all breakpoints and watchpoints
^⇧F10
Run context configuration
scf keyboard

Refactoring

F5
Create a copy of the selected class
F6
Move the selected class, method, package or static member to another package or class and correct all references
⌥DEL
Delete the selected class, method or field, checking for usages
^⌥C
Replace selected expression with a constant
^⌥J
Surrounds the selection with one of the template
^⌥M
Turn the selected code fragment into a method
^⌥N
Inline the selected method or variable
^⌥P
Turn the selected expression into method parameter
^⌥V
Put a result of the selected expression into a variable
⇧F5
Create a copy of the selected class, file or directory in the same package/directory
⇧F6
Rename the selected symbol and correct all references
^⌥⇧C
Copy reference to selected class, method or function
scf keyboard

Misc I

^/
Comment/uncomment current line or selected block with line comments
^⇧?
Comment/uncomment code with block comments
^0
Go to Bookmark 0
^3
Go to Bookmark 3
^5
Go to Bookmark 5
^6
Go to Bookmark 6
^7
Go to Bookmark 7
^⇧!
Toggle Bookmark 1
⌥6
Activate TODO window
F1
Show context help
⌥1
Activate Project window
⌥2
Activate Favorites window
⌥7
Activate Structure window
⌥9
Activate Changes window
⌥`
Context aware popup with list of commonly used VCS actions
⌥DOWN
Navigate to the next method in the active editor
⌥F1
Choose Project, Sourcepath or Classpath tree in the Project View window
⌥F1
Select the current class or method in any view
^⌥F9
Run to the line where the caret is, ignoring any breakpoints
^⌥LEFT
Undo last navigation operation
^⌥O
Remove unused imports and reorder/reorganize imports
^⌥[
Switch to the previous project window
^⌥RIGHT
Redo last undone navigation operation
^⌥S
Configure application settings
^⌥SPACE
Complete class name and add import for it
^⌥UP
Navigate to the previous occurrence
^⌥Y
Detect all externally changed files and reload them from disk
⇧ESC
Hide active tool window
scf keyboard

Misc II

^DEL
Delete to Word End
^⇧@
Toggle Bookmark 2
⌥F10
Show the current program execution point
⌥F7
Find usages of the symbol at caret
⌥/
Cyclic Expand word
⌥UP
Navigate to the previous method in the active editor
^A
Select all
^`
Change current code style scheme, color&fonts scheme, keymap or Look&Feel
^↵
Open editor for the selected item
^F
Find a string in active editor
^F12
Popup structure of the current file for quick navigation
^G
Navigate to a line in editor by its number
^J
Show popup list of live templates starting with the specified prefix
⇧F1
Open browser with documentation for the selected item
⌥⇧F
Add selected node to favorites
⌥⇧F7
Step into, ignore stepping filters for libraries, constructors, etc.
⌥⇧F8
Step over, disable all breakpoints before stepping.
⌥⇧I
Inspect Code With _Editor Settings
⌥⇧?
Backward
^⇧A
Quickly navigate to action by name
^⇧B
Navigate to the declaration of the symbol's type at caret
^⇧C
Copy paths corresponding to selected files or directories to clipboard
^⇧DEL
Safely unwraps or removes the selected scope
^⇧F
Find a string in multiple files
^⇧%
Toggle Bookmark 5
scf keyboard

Misc III

^1
Go to Bookmark 1
⌥LEFT
Activate previous tab
^⌥HOME
Navigate to one of the related or linked files
⌥HOME
Jump to Navigation Bar
^9
Go to Bookmark 9
^L
Repeat the last Find/Replace operation
^.
Fold selected block
^R
Replace a string in active editor with another string
^S
Save all files and settings
^⌥A
Add to VCS
^⌥]
Switch to the next project window
^⌥DOWN
Navigate to the next occurrence
^⌥E
Browse console history
^⌥F
Put a result of the selected expression into a field
^⌥F12
Popup path of the current file for opening in external file manager
^⌥F7
Show usages of the symbol at caret
^⇧F12
Hide all tool windows
^⇧I
Show a popup window with the symbol
^⇧L
Repeat the last Find/Replace operation in reverse direction
^⇧LEFT
Resize active tool window to the left
^⇧R
Replace a string in multiple files with another string
^⇧RIGHT
Resize active tool window to the right
^⇧SPACE
Complete code basing on expected type
^⇧T
Show thumbnails view for current directory
^⌥⇧DOWN
Go to next change
^⌥⇧F7
Choose scope and edit options for the Show Usages action
^⇧^
Toggle Bookmark 6
^⇧&
Toggle Bookmark 7
^⇧(
Toggle Bookmark 9
scf keyboard

Misc IV

⇧HOME
Move Caret to Line Start with Selection
^⌥F8
Evaluate selected expression
^⌥⇧H
Show panel to configure highlighting mode for the current file
^⌥⇧N
Quickly navigate to any symbol by name
^⌥⇧T
Context aware popup with list of refactoring actions
^⌥⇧UP
Go to previous change
^D
Compare Directories
^M
Scroll to Center
^T
Update Project
^W
Select Word at Caret
^Z
Undo
^⌥F6
Show Code Coverage Data
⇧DOWN
Down with Selection
⇧LEFT
Left with Selection
⇧PAGEDOWN
Page Down with Selection
⇧PAGEUP
Page Up with Selection
⇧RIGHT
Right with Selection
⇧TAB
Prev Parameter
⇧TAB
Previous Parameter
⇧TAB
Previous Template Variable
⇧UP
Up with Selection
⌥⇧B
Open in Browser
^⇧$
Toggle Bookmark 4
scf keyboard

Misc V

^⌥T
Surround selected code fragment with if, while, try/catch or other construct
^C
Copy to clipboard
^V
Paste from clipboard
^X
Cut to clipboard
⌥RIGHT
Activate next tab
⌥⇧LEFT
Select Previous Tab in multi-editor file
⌥⇧RIGHT
Select Next Tab in multi-editor file
^⇧)
Toggle Bookmark 0
^⇧#
Toggle Bookmark 3
^HOME
Move Caret to Text Start
⇧END
Move Caret to Line End with Selection
⌥⇧BACKSPACE
Redo
⌥⇧C
Recent Changes
⌥⇧L
Load Context...
⌥⇧N
Open Task...
⌥⇧S
Save Context...
⌥⇧T
Switch Task...
⌥⇧X
Clear Context
^⇧*
Toggle Bookmark 8
^⇧END
Move Caret to Text End with Selection
^⇧↵
Choose Lookup Item and Invoke Complete Statement
^⇧F8
Edit
^⇧HOME
Move Caret to Text Start with Selection
^⇧LEFT
Move Caret to Previous Word with Selection
^⇧PAGEDOWN
Move Caret to Page Bottom with Selection
^⇧PAGEUP
Move Caret to Page Top with Selection
^⇧S
Save As..
^⇧T
Navigate to the test of the selected class
^⇧W
Unselect Word at Caret
^⇧Z
Redo
^⌥⇧I
Run Inspection by Name...
TAB
Choose Lookup Item Replace
TAB
Next Template Variable
⌥4
Activate Run window
⌥F2
Web Preview...
achievement-star