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

Basic Editing I

⌥RIGHT
Move to next word
⌘BACKSPACE
Delete line at caret
⌥BACKSPACE
Delete to word start
⌘D
Duplicate line or block
⌘⌥]
Move to code block end
⌘⌥[
Move to code block start
^⇧J
Join lines
TAB
Indent selection
^⌥I
Auto-indent lines
scf keyboard

Basic Editing II

⌘⇧V
Paste from history
^⌥DOWN
Move line down
^⌥UP
Move line up
⌥LEFT
Move to previous word
⌥⇧RIGHT
Select to next word
⌥⇧LEFT
Select to previous word
⌘⇧U
Toggle case
⇧↵
Start new line
⌘↵
Split line
⇧TAB
Unindent selection
scf keyboard

Search

⌘F
Find
⌘R
Replace
⌘G
Find next
⌘⇧G
Find previous
⌘⇧F
Find in path
⌘⇧R
Replace in path
⌥F7
Find usages
⌘⇧F7
Highlight usages in file
⌘⌥F7
Show usages
⌘⇧A
Find action
scf keyboard

Advanced Editing I

⇧HOME
Select to beginning of line
⇧END
Select to end of line
⌘⇧PAGEUP
Select to page top
⌘⇧PAGEDOWN
Select to page bottom
⌥DEL
Delete to word end
⌘/
Comment/uncomment current line
⌘⌥/
Comment/uncomment block comment
^O
Override base class methods in current class
^SPACE
Basic code completion
^⌥SPACE
Class name code completion
⌥/
Expand word
⌘J
Insert live template...
TAB
Next template variable
⇧TAB
Previous template variable
scf keyboard

Advanced Editing II

⌘PAGEDOWN
Go to page bottom
⌘PAGEUP
Go to page top
HOME
Move to beginning of line
END
Move to end of line
^J
Quick documentation
⌘⌥⇧H
Show the highlighting level pop-up window
⌘P
Show parameters of method call at caret
^⇧Q
Context info
⌘F1
Show an error or warning description at caret
⇧F1
Show external documentation
⌘⌥T
Surround with...
^⇧SPACE
SmartType code completion
⌘⌥J
Surround with live template...
scf keyboard

Source Navigation I

⌘L
Navigate to line
⌘B
Navigate to declaration of symbol at caret
⌘⌥B
Navigate to implementation of symbol under caret
⌘⇧B
Navigate to type declaration of symbol at caret
⌘U
Navigate to super method
⌘[
Navigate back
⌘]
Navigate forward
F2
Navigate to next highlighted error
⇧F2
Navigate to previous highlighted error
scf keyboard

Source Navigation II

⌘⇧E
Show list of recently edited files
⌘F12
File structure pop-up
⌥F1
Select target
⌘E
Show list of recently opened files
^H
Browse hierarchy for selected class
⌘⇧H
Browse hierarchy for selected method
^⌥H
Browse call hierarchy for selected method
⌘⇧BACKSPACE
Last edit location
scf keyboard

Refactoring

⇧F6
Rename refactoring
⌘F6
Change method signature
F6
Move refactoring
F5
Copy refactoring
⇧F5
Clone refactoring
⌘DEL
Safe delete
⌘⌥M
Extract method
⌘⌥V
Introduce variable
⌘⌥F
Introduce field
⌘⌥C
Introduce constant
⌘⌥P
Introduce parameter
scf keyboard

Running and Debugging I

⌘F9
Make project
⌘⇧F9
Compile
^⌥R
Choose configuration and run
^D
Debug
^⌥D
Choose configuration and debug
⌥⇧F8
Force step over
⌥⇧F7
Force step into
⌘⌥R
Resume program
⌥F8
Evaluate expression
⌘⌥F8
Quick evaluate expression
scf keyboard

Running and Debugging II

^R
Run
F8
Step over
F7
Step into
⇧F7
Smart step into
⇧F8
Step out
⌥F9
Run to cursor
⌘F2
Stop program
⌘F8
Toggle breakpoint
⌘⇧F8
View breakpoints
⌘⌥F6
Switch to another coverage suite
achievement-star