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
(Editing) Ctrl + C or Ctrl + Insert
Copy current line or selected block to clipboard
(Editing) Ctrl + V or Shift + Insert
Paste from clipboard
(Editing) Ctrl + Shift + V
Paste from recent buffers…
(Editing) Ctrl + D
Duplicate current line or selected block
(Editing) Ctrl + Y
Delete line at caret
(Editing) Ctrl + Shift + J
Smart line join
(Editing) Ctrl + Enter
Smart line split
(Editing) Shift + Enter
Start new line
(Editing) Ctrl + Shift + U
Toggle case for word at caret or selected block
(Editing) Ctrl + Shift + ] / [
Select till code block end/start
(Editing) Ctrl + Delete
Delete to word end
(Editing) Ctrl + Backspace
Delete to word start
(Editing) Ctrl + NumPad+/-
Expand/collapse code block
(Editing) Ctrl + Shift + NumPad+
Expand all
(Editing) Ctrl + Shift + NumPad-
Collapse all
(Editing) Ctrl + F4
Close active editor tab
(Search/Replace) Ctrl + F
Find
(Search/Replace) F3
Find next
(Search/Replace) Shift + F3
Find previous
(Search/Replace) Ctrl + R
Replace
(Search/Replace) Ctrl + Shift + F
Find in path
(Search/Replace) Ctrl + Shift + R
Replace in path
(Search/Replace) Ctrl + Shift + S
Search structurally (Ultimate Edition only)
(Search/Replace) Ctrl + Shift + M
Replace structurally (Ultimate Edition only)
(Usage Search) Alt + F7 / Ctrl + F7
Find usages / Find usages in file
(Usage Search) Ctrl + Shift + F7
Highlight usages in file
(Usage Search) Ctrl + Alt + F7
Show usages
(Compile and Run) Ctrl + F9
Make project (compile modifed and dependent)
(Compile and Run) Ctrl + Shift + F9
Compile selected file, package or module
(Compile and Run) Alt + Shift + F10
Select configuration and run
(Compile and Run) Alt + Shift + F9
Select configuration and debug
(Compile and Run) Shift + F10
Run
(Compile and Run) Shift + F9
Debug
(Compile and Run) Ctrl + Shift + F10
Run context configuration from editor
(Debugging) F8
Step over
(Debugging) F7
Step into
(Debugging) Shift + F7
Smart step into
(Debugging) Shift + F8
Step out
(Debugging) Alt + F9
Run to cursor
(Debugging) Alt + F8
Evaluate expression
(Debugging) F9
Resume program
(Debugging) Ctrl + F8
Toggle breakpoint
(Debugging) Ctrl + Shift + F8
View breakpoints
(Navigation) Ctrl + N
Go to class
(Navigation) Ctrl + Shift + N
Go to file
(Navigation) Ctrl + Alt + Shift + N
Go to symbol
(Navigation) Alt + Right/Left
Go to next/previous editor tab
(Navigation) F12
Go back to previous tool window
(Navigation) Esc
Go to editor (from tool window)
(Navigation) Shift + Esc
Hide active or last active window
(Navigation) Ctrl + Shift + F4
Close active run/messages/find/… tab
(Navigation) Ctrl + G
Go to line
(Navigation) Ctrl + E
Recent files popup
(Navigation) Ctrl + Alt + Left/Right
Navigate back/forward
(Navigation) Ctrl + Shift + Backspace
Navigate to last edit location
(Navigation) Alt + F1
Select current file or symbol in any view
(Navigation) Ctrl + B or Ctrl + Click
Go to declaration
(Navigation) Ctrl + Alt + B
Go to implementation(s)
(Navigation) Ctrl + Shift + I
Open quick definition lookup
(Navigation) Ctrl + Shift + B
Go to type declaration
(Navigation) Ctrl + U
Go to super-method/super-class
(Navigation) Alt + Up/Down
Go to previous/next method
(Navigation) Ctrl + ] / [
Move to code block end/start
(Navigation) Ctrl + F12
File structure popup
(Navigation) Ctrl + H
Type hierarchy
(Navigation) Ctrl + Shift + H
Method hierarchy
(Navigation) Ctrl + Alt + H
Call hierarchy
(Navigation) F2 / Shift + F2
Next/previous highlighted error
(Navigation) F4 / Ctrl + Enter
Edit source / View source
(Navigation) Alt + Home
Show navigation bar
(Navigation) F11
Toggle bookmark
(Navigation) Ctrl + Shift + F11
Toggle bookmark with mnemonic
(Navigation) Ctrl + #[0-9]
Go to numbered bookmark
(Navigation) Shift + F11
Show bookmarks
(Refactoring) F5
Copy
(Refactoring) F6
Move
(Refactoring) Alt + Delete
Safe Delete
(Refactoring) Shift + F6
Rename
(Refactoring) Ctrl + F6
Change Signature
(Refactoring) Ctrl + Alt + N
Inline
(Refactoring) Ctrl + Alt + M
Extract Method
(Refactoring) Ctrl + Alt + V
Extract Variable
(Refactoring) Ctrl + Alt + F
Extract Field
(Refactoring) Ctrl + Alt + C
Extract Constant
(Refactoring) Ctrl + Alt + P
Extract Parameter
(VCS/Local History) Ctrl + K
Commit project to VCS
(VCS/Local History) Ctrl + T
Update project from VCS
(VCS/Local History) Alt + Shift + C
View recent changes
(VCS/Local History) Alt + BackQuote (`)
VCS quick popup
(Live Templates) Ctrl + Alt + J
Surround with Live Template
(Live Templates) Ctrl + J
Insert Live Template
(Live Templates) iter
Iteration according to Java SDK 1.5 style
(Live Templates) inst
Check object type with instanceof and downcast it
(Live Templates) itco
Iterate elements of java.util.Collection
(Live Templates) itit
Iterate elements of java.util.Iterator
(Live Templates) itli
Iterate elements of java.util.List
(Live Templates) psf
public static final
(Live Templates) thr
throw new
(General) Alt + #[0-9]
Open corresponding tool window
(General) Ctrl + S
Save all
(General) Ctrl + Alt + Y
Synchronize
(General) Ctrl + Alt + F11
Toggle full screen mode
(General) Ctrl + Shift + F12
Toggle maximizing editor
(General) Alt + Shift + F
Add to Favorites
(General) Alt + Shift + I
Inspect current file with current profile
(General) Ctrl + BackQuote (`)
Quick switch current scheme
(General) Ctrl + Alt + S
Open Settings dialog
(General) Ctrl + Alt + Shift + S
Open Project Structure dialog
(General) Ctrl + Shift + A
Find Action
(General) Ctrl + Tab
Switch between tabs and tool window
To find any action inside the IDE
use Find action (Ctrl+Shift+A)
Basic code completion (the name of any class, method or variable)
(Editing) Ctrl + Space
Smart code completion (filters the list of methods and variables by expected type)
(Editing) Ctrl + Shift + Space
Class name completion (the name of any project class independently of current imports)
(Editing) Ctrl + Alt + Space
Complete statement
(Editing) Ctrl + Shift + Enter
Parameter info (within method call arguments)
(Editing) Ctrl + P
Quick documentation lookup
(Editing) Ctrl + Q
External Doc
(Editing) Shift + F1
Brief Info
(Editing) Ctrl + mouse over code
Show descriptions of error or warning at caret
(Editing) Ctrl + F1
Generate code… (Getters, Setters, Constructors, hashCode/equals, toString)
(Editing) Alt + Insert
Override methods
(Editing) Ctrl + O
Implement methods
(Editing) Ctrl + I
Surround with… (if..else, try..catch, for, synchronized, etc.)
(Editing) Ctrl + Alt + T
Comment/uncomment with line comment
(Editing) Ctrl + /
Comment/uncomment with block comment
(Editing) Ctrl + Shift + /
Select successively increasing code blocks
(Editing) Ctrl + W
Decrease current selection to previous state
(Editing) Ctrl + Shift + W
Context info
(Editing) Alt + Q
Show intention actions and quick-fixes
(Editing) Alt + Enter
Reformat code
(Editing) Ctrl + Alt + L
Optimize imports
(Editing) Ctrl + Alt + O
Auto-indent line(s)
(Editing) Ctrl + Alt + I
Indent/unindent selected lines
(Editing) Tab / Shift + Tab
Cut current line or selected block to clipboard
(Editing) Ctrl + X or Shift + Delete
Copy current line or selected block to clipboard
(Editing) Ctrl + C or Ctrl + Insert
Paste from clipboard
(Editing) Ctrl + V or Shift + Insert
Paste from recent buffers…
(Editing) Ctrl + Shift + V
Duplicate current line or selected block
(Editing) Ctrl + D
Delete line at caret
(Editing) Ctrl + Y
Smart line join
(Editing) Ctrl + Shift + J
Smart line split
(Editing) Ctrl + Enter
Start new line
(Editing) Shift + Enter
Toggle case for word at caret or selected block
(Editing) Ctrl + Shift + U
Select till code block end/start
(Editing) Ctrl + Shift + ] / [
Delete to word end
(Editing) Ctrl + Delete
Delete to word start
(Editing) Ctrl + Backspace
Expand/collapse code block
(Editing) Ctrl + NumPad+/-
Expand all
(Editing) Ctrl + Shift + NumPad+
Collapse all
(Editing) Ctrl + Shift + NumPad-
Close active editor tab
(Editing) Ctrl + F4
Find
(Search/Replace) Ctrl + F
Find next
(Search/Replace) F3
Find previous
(Search/Replace) Shift + F3
Replace
(Search/Replace) Ctrl + R
Find in path
(Search/Replace) Ctrl + Shift + F
Replace in path
(Search/Replace) Ctrl + Shift + R
Search structurally (Ultimate Edition only)
(Search/Replace) Ctrl + Shift + S
Replace structurally (Ultimate Edition only)
(Search/Replace) Ctrl + Shift + M
Find usages / Find usages in file
(Usage Search) Alt + F7 / Ctrl + F7
Highlight usages in file
(Usage Search) Ctrl + Shift + F7
Show usages
(Usage Search) Ctrl + Alt + F7
Make project (compile modifed and dependent)
(Compile and Run) Ctrl + F9
Compile selected file, package or module
(Compile and Run) Ctrl + Shift + F9
Select configuration and run
(Compile and Run) Alt + Shift + F10
Select configuration and debug
(Compile and Run) Alt + Shift + F9
Run
(Compile and Run) Shift + F10
Debug
(Compile and Run) Shift + F9
Run context configuration from editor
(Compile and Run) Ctrl + Shift + F10
Step over
(Debugging) F8
Step into
(Debugging) F7
Smart step into
(Debugging) Shift + F7
Step out
(Debugging) Shift + F8
Run to cursor
(Debugging) Alt + F9
Evaluate expression
(Debugging) Alt + F8