Editing
|
|
Ctrl + Space
|
Basic code completion (the name of any class, method or variable)
|
Ctrl + Shift + Space
|
Smart code completion (filters the list of methods and variables by expected type)
|
Ctrl + Alt + Space
|
Class name completion (the name of any project class independently of current imports)
|
Ctrl + Shift + Enter
|
Complete statement
|
Ctrl + P
|
Parameter info (within method call arguments)
|
Ctrl + Q
|
Quick documentation lookup
|
Shift + F1
|
External Doc
|
Ctrl + mouse over code
|
Brief Info
|
Ctrl + F1
/
mouse over error code
|
Show descriptions of error or warning at caret
|
Alt + Insert
|
Generate code... (Getters, Setters, Constructors, hashCode/equals, EJB)
|
Ctrl + O
|
Override methods
|
Ctrl + I
|
Implement methods
|
Ctrl + Alt + T
|
Surround with... (if..else, try..catch, for, synchronized, etc.)
|
Ctrl + /
|
Comment/uncomment with line comment
|
Ctrl + Shift + /
|
Comment/uncomment with block comment
|
Ctrl + W
|
Select successively increasing code blocks
|
Ctrl + Shift + W
|
Decrease current selection to previous state
|
Alt + Q
|
Context info
|
Alt + Enter
|
Show intention actions
|
Ctrl + Alt + L
|
Reformat code
|
Ctrl + Alt + O
|
Optimize imports
|
Ctrl + Alt + I
|
Auto-indent line(s)
|
Tab / Shift + Tab
|
Indent/unindent selected lines
|
Ctrl + X
or Shift + Delete
|
Cut current line(if nothing selected) or selected block to buffer
|
Ctrl + C
or Ctrl + Insert
|
Copy current line(if nothing selected) or selected block to buffer
|
Ctrl + V
or Shift + Insert
|
Paste from buffer
|
Ctrl + Shift + V
|
Paste from recent buffers...
|
Ctrl + D
|
Duplicate current line or selected block
|
Ctrl + Y
|
Delete line at caret
|
Ctrl + Shift + J
|
Smart line join
|
Ctrl + Enter
|
Smart line split
|
Shift + Enter
|
Start new line
|
Ctrl + Shift + U
|
Toggle case for word at caret or selected block
|
Ctrl + Shift + ] / [
|
Select till code block end/start
|
Ctrl + Delete
|
Delete to word end
|
Ctrl + Backspace
|
Delete to word start
|
Ctrl + NumPad+/-
|
Expand/collapse code block
|
Ctrl + Shift + NumPad+
|
Expand all
|
Ctrl + Shift + NumPad-
|
Collapse all
|
Ctrl + F4
|
Close active editor tab
|
Ctrl + Shift + Insert
|
Column Mode
|
Ctrl + Shift + Up/Down
|
Move selected codes up/down line
|
|
|
Search/Replace
|
|
Ctrl + F
|
Find
|
F3
|
Find next
|
Shift + F3
|
Find previous
|
Ctrl + R
|
Replace
|
Alt + F3
|
Dynamic Find
|
(after Alt + F3) Up/Down
|
Incremental search (Dynamic Find previous/next)
|
Ctrl + Shift + F
|
Find in path
|
Ctrl + Shift + R
|
Replace in path
|
Ctrl + Shift + S
|
Search structurally
|
Ctrl + Shift + M
|
Replace structurally
|
|
|
Usage Search
|
|
Alt + F7
|
Find usages...
|
Ctrl + F7
|
Find usages in file
|
Ctrl + Shift + F7
|
Highlight usages in file
|
|
|
Compile and Run
|
|
Ctrl + F9
|
Make project (compile modifed and dependent)
|
Ctrl + Shift + F9
|
Compile selected file, package or module
|
Alt+Shift+F10
|
Open run/debug configurations dropdown
|
Shift + F10
|
Run
|
Shift + F9
|
Debug
|
Ctrl + Shift + F10
|
Run context configuration from editor
|
|
|
Debugging
|
|
F8
|
Step over
|
F7
|
Step into
|
Shift + F8
|
Step out
|
Alt + F9
|
Run to cursor
|
Alt + F8
|
Evaluate expression
|
F9
|
Resume program
|
Ctrl + F8
|
Toggle breakpoint
|
Ctrl + Shift + F8
|
View breakpoints
|
|
|
Navigation
|
|
Ctrl + N
|
Go to class
|
Ctrl + Shift + N
|
Go to file
|
Ctrl + Alt + Shift + N
|
Go to symbol
|
Alt + Right/Left
|
Go to next/previous editor tab
|
F12
|
Go back to previous tool window
|
Esc
|
Go to editor (from tool window)
|
Shift + Esc
|
Hide active or last active window
|
Ctrl + Shift + F4
|
Close active run/messages/find/... tab
|
Ctrl + G
|
Go to line
|
Ctrl + PgDn
|
Go to bottom of page
|
Ctrl + PgUp
|
Go to top of page
|
Ctrl + E
|
Recent files popup
|
Ctrl + Alt + Left/Right
|
Navigate back/forward
|
Ctrl + Shift + Backspace
|
Navigate to last edit location
|
Alt + F1
|
Select current file or symbol in any view
|
Ctrl + B or Ctrl + Click
|
Go to declaration
|
Ctrl + Alt + B or Ctrl + Alt + Click
|
Go to implementation(s)
|
Ctrl + Shift + I
|
Open quick definition lookup
|
Ctrl + Shift + B
|
Go to type declaration
|
Ctrl + U
|
Go to super-method/super-class
|
Alt + Up/Down
|
Go to previous/next method
|
Ctrl + ] / [
|
Move to code block end/start
|
Ctrl + F12
|
File structure popup
|
Ctrl + H
|
Type hierarchy
|
Ctrl + Shift + H
|
Method hierarchy
|
Ctrl + Alt + H
|
Call hierarchy
|
F2 / Shift + F2
|
Next/previous highlighted error
|
F4
|
Edit source
|
Ctrl + Enter
|
View source
|
F11
|
Toggle bookmark
|
Ctrl + Shift + #[0-9]
|
Toggle numbered bookmark
|
Ctrl + #[0-9]
|
Go to numbered bookmark
|
Shift + F11
|
Show bookmarks
|
Ctrl + Alt + Shift + I
|
view bugzilla's information
|
Alt + Shift + E
|
windows explorer
|
|
|
Refactoring
|
|
F5
|
Copy
|
F6
|
Move
|
Alt + Delete
|
Safe Delete
|
Shift + F6
|
Rename
|
Ctrl + F6
|
Change Signature
|
Ctrl + Alt + N
|
Inline
|
Ctrl + Alt + M
|
Extract Method
|
Ctrl + Alt + V
|
Introduce Variable
|
Ctrl + Alt + F
|
Introduce Field
|
Ctrl + Alt + C
|
Introduce Constant
|
Ctrl + Alt + P
|
Introduce Parameter
|
|
|
Live Templates
|
|
Ctrl + Alt + J
|
Surround with Live Template
|
Ctrl + J
|
Insert Live Template
|
iter
|
Iteration according to Java SDK 1.5 style
|
inst
|
Check object type with instanceof and downcast it
|
itco
|
Iterate elements of java.util.Collection
|
itit
|
Iterate elements of java.util.Iterator
|
itli
|
Iterate elements of java.util.List
|
itve
|
Iterate elements of java.util.Vector
|
iten
|
Iterate elements of java.util.Enumeration
|
itar
|
Iterate elements of array
|
ritar
|
Iterate elements of array in reverse order
|
lst
|
Fetch the last element of an array
|
toar
|
Store elements of java.util.Collection into an array
|
mn
|
Set lesser value to a variable
|
mx
|
Set greater value to a variable
|
psf
|
public static final
|
psvm
|
main() method declaration
|
serr
|
Print a string to System.err
|
sout
|
Print a string to System.out
|
soutm
|
Print current class and method names to System.out
|
soutv
|
Print a value to System.out
|
thr
|
throw new
|
|
|
General
|
|
Alt + #[0-9]
|
Open corresponding tool window
|
Ctrl + S
|
Save all
|
Ctrl + Alt + Y
|
Synchronize
|
Ctrl + Alt + F11
|
Toggle full screen toggle
|
Ctrl + Shift + F12
|
Toggle maximizing editor
|
Alt + Shift + F
|
Add to Favorites
|
Alt + Shift + I
|
Inspect current file with current profile
|
Ctrl + BackQuote (`)
|
Quick switch current scheme
|
Ctrl + Alt + S
|
Open Settings dialog
|
|
|
VCS/Local History
|
|
Ctrl + K
|
Commit project to VCS
|
Ctrl + T
|
Update project from VCS
|
Alt + Shift + C
|
View recent changes
|
Alt + Shift + R
|
Rollback
|