IntelliJ IDEA Reference Card Flashcards
(Editing) Ctrl + Space
Basic code completion (the name of any class, method or variable)
(Editing) Ctrl + Shift + Space
Smart code completion (filters the list of methods and variables by expected type)
(Editing) Ctrl + Alt + Space
Class name completion (the name of any project class independently of current imports)
(Editing) Ctrl + Shift + Enter
Complete statement
(Editing) Ctrl + P
Parameter info (within method call arguments)
(Editing) Ctrl + Q
Quick documentation lookup
(Editing) Shift + F1
External Doc
(Editing) Ctrl + mouse over code
Brief Info
(Editing) Ctrl + F1
Show descriptions of error or warning at caret
(Editing) Alt + Insert
Generate code… (Getters, Setters, Constructors, hashCode/equals, toString)
(Editing) Ctrl + O
Override methods
(Editing) Ctrl + I
Implement methods
(Editing) Ctrl + Alt + T
Surround with… (if..else, try..catch, for, synchronized, etc.)
(Editing) Ctrl + /
Comment/uncomment with line comment
(Editing) Ctrl + Shift + /
Comment/uncomment with block comment
(Editing) Ctrl + W
Select successively increasing code blocks
(Editing) Ctrl + Shift + W
Decrease current selection to previous state
(Editing) Alt + Q
Context info
(Editing) Alt + Enter
Show intention actions and quick-fixes
(Editing) Ctrl + Alt + L
Reformat code
(Editing) Ctrl + Alt + O
Optimize imports
(Editing) Ctrl + Alt + I
Auto-indent line(s)
(Editing) Tab / Shift + Tab
Indent/unindent selected lines
(Editing) Ctrl + X or Shift + Delete
Cut current line or selected block to clipboard