Hotkeys and shortcuts for IntelliJ (Linux)

(Total 137)

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