dojo
IntelliJ IDEA Cheatsheet
ShortcutFoo uses a Spaced Repetition System that adapts to your training.
scf keyboard

Basic Editing I

END
Move caret to line end
HOME
Move caret to line start
^Y
Delete line
^DEL
Delete to word end
^BACKSPACE
Delete to word start
^D
Duplicate line or selection
TAB
Indent selection
⇧TAB
Unindent selection
^⌥I
Auto-indent lines
^⇧↵
Complete current statement
scf keyboard

Basic Editing II

^⇧RIGHT
Move caret to next word with selection
^⇧LEFT
Move caret to previous word with selection
^END
Move caret to text end
^HOME
Move caret to text start
^A
Select all
^]
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
scf keyboard

Basic Editing III

^⇧V
Paste from history
^M
Scroll to center
⇧END
Move caret to line end with selection
⇧HOME
Move caret to line start with selection
^⇧END
Move caret to text end with selection
^⇧HOME
Move caret to text start with selection
^⇧U
Toggle case
⇧↵
Start new line
^⇧J
Join lines
^↵
Split line
scf keyboard

Basic Editing IV

^⇧UP
Move statement up
^⇧DOWN
Move statement down
⌥⇧UP
Move line up
⌥⇧DOWN
Move line down
^⌥⇧LEFT
Move element left
^⌥⇧RIGHT
Move element right
^⌥L
Reformat code
^⌥⇧L
Reformat file
scf keyboard

Advanced Editing I

^J
Insert live template
⌥/
Cyclic expand word
^⌥SPACE
Second basic completion
^⇧SPACE
Code completion (type-matching)
^/
Comment with line comment
^⇧?
Comment with block comment
^SPACE
Code completion (basic)
TAB
Next template variable
⇧TAB
Previous template variable
scf keyboard

Advanced Editing II

^⌥⇧H
Configure current file analysis
⌥J
Show context actions
^P
Parameter info
^⌥T
Surround with
^O
Override methods
⌥Q
Context info
⇧F1
External documentation
^⌥J
Surround with live template
^Q
Quick documentation
scf keyboard

Advanced Editing III

^⇧P
Type info
^⇧I
Quick definition
^'
Quick switch scheme
^Z
Undo typing
^⇧Z
Redo typing
^C
Copy current line or selection
^X
Cut current line or selection
^V
Paste
^⇧P
Type info
^⇧I
Quick definition
scf keyboard

Source Navigation I

^N
Go to class
^⇧N
Go to file
^G
Go to line:column
^B
Go to declaration or usages
^⌥B
Go to implementation(s)
^⇧B
Go to type declaration
^⇧T
Go to test
^⌥HOME
Related symbol
^⌥LEFT
Navigate (back)
^⌥RIGHT
Navigate (forward)
F2
Navigate to next error/warning
⇧F2
Navigate to previous error/warning
scf keyboard

Source Navigation II

F7
Next difference
⇧F7
Previous difference
^F12
File structure
⌥F1
Select in (reference actions)
^E
Recent files
^⇧E
Recent locations
^H
Type hierarchy
^⌥H
Call hierarchy
^⌥F12
File path
^⌥UP
Navigate to previous occurrence
^⌥DOWN
Navigate to next occurrence
^⇧BACKSPACE
Last edit location
scf keyboard

Source Navigation III

⌥HOME
Jump to navigation bar
⌥UP
Previous method
⌥DOWN
Next method
^⇧H
Method hierarchy
F2
Next highlighted error
⇧F2
Previous highlighted error
^⌥UP
Previous occurrence
^⌥DOWN
Next occurrence
scf keyboard

Code Folding

^=
Folding (expand)
^⇧=
Folding (expand all)
^.
Fold selection / Remove region
^⇧>
Fold code block
scf keyboard

Debugging

⇧F9
Debug
⌥⇧F9
Choose configuration and debug
F8
Step over
F7
Smart step into
⇧F7
Select method to step into on current line
⇧F8
Step out
⌥⇧F8
Force step over
⌥⇧F7
Force step into
⌥F9
Run to cursor
^⌥F9
Force run to cursor
F9
Resume program
^F2
Stop
^⇧F8
View breakpoints
scf keyboard

Running

^F9
Build project
⇧F10
Run
^⇧F10
Run context configuration
^F10
Update running application
^F10
Reload updated resources
⌥F8
Evaluate expression
^⌥F8
Quick evaluate expression
scf keyboard

Find And Replace

^F
Find
^R
Replace
^L
Find next
^⇧L
Find previous
^⇧F
Find in files
^⇧R
Replace in files
⌥F7
Find usages
F3
Find next occurrence
⇧F3
Find previous occurrence
^⇧F3
Previous occurrence of the word at caret
^⌥F7
Find usages
^F7
Find usages in file
scf keyboard

Bookmarks

^F11
Toggle bookmark mnemonic
^3
Go to bookmark 3
^7
Go to bookmark 7
⇧F11
Show line bookmarks
^⇧F11
Go to bookmarks
scf keyboard

Refactoring

⇧F6
Rename
F6
Move file
F5
Copy file
⇧F5
Clone selected class
⌥DEL
Safe delete
^⌥M
Extract method
^⌥V
Introduce variable
^⌥F
Introduce field
^⌥C
Introduce constant
^⌥P
Introduce parameter
^⌥N
Inline selected method/variable
^⌥⇧T
Refactor this
scf keyboard

Miscellaneous

^⌥S
Settings
^⌥⇧S
Project structure
^S
Save all
^⇧A
Find action
⌥LEFT
Previous tab
⌥RIGHT
Next tab
^F4
Close tab
⇧ESC
Hide active tool window
^⇧ESC
Hide all windows
F12
Jump to last tool window
ESC
Switch focus to editor
achievement-star