Keyboard shortcuts for IntelliJ mapped from corresponding shortcuts in Eclipse and other useful information when going from Eclipse to IntelliJ.
|
Eclipse
|
IntelliJ
|
|
|
Open Type
|
⇧⌘T
|
⇧⌘O or ⇧ twice
|
|
Open Resource
|
⇧⌘R
|
⌘O or ⇧ twice
|
|
Go to Declaration
|
F3
|
⌘B
|
|
Type Hierarchy
|
F4
|
⌃H
|
|
Quick Outline
|
⌘2
|
⌘F12
|
|
Recent Files
|
⌘E
|
|
|
References/Usages
|
⇧⌘G
|
⌥F7
|
|
Find in Files
|
⌃H
|
⇧⌘F
|
|
Eclipse
|
IntelliJ
|
|
|
Move Line(s)
|
⌥↑ and ⌥↓
|
⇧⌥↑ and ⇧⌥↓
|
|
Move Method
|
⇧⌘↑ and ⇧⌘↓
|
|
|
Delete Line
|
⌘D
|
⌘⌫
|
|
Duplicate Line
|
⌘⌥↑ and ⌘⌥↓
|
⌘D
|
|
Quick Fix
|
⌘1
|
⌥↩
|
|
Optimize Imports
|
⇧⌘O
|
⌘⌥O
|
|
Format Source
|
⇧⌘F
|
⌘⌥L
|
|
Collapse Method
|
⌘-
|
|
|
Expand Method
|
⌘=
|
|
|
Collapse All Methods
|
⇧⌘-
|
|
|
Expand All Methods
|
⇧⌘=
|
|
|
Template Wrap / Surround With
|
⌘⌥T
|
|
|
Template Unwrap
|
⇧⌘⌫
|
|
|
Extend/Shrink Selection
|
⌥↑ and ⌥↓
|
|
Eclipse
|
IntelliJ
|
|
|
Rename
|
F2 or ⌘⌥R
|
⇧F6
|
|
Extract Method
|
⌘⌥M
|
|
|
Extract Local Variable
|
⌘⌥L
|
⌘⌥V
|
|
Eclipse
|
IntelliJ
|
|
|
Toggle Breakpoint
|
⇧⌘B
|
⌘F8
|
|
Debug
|
⌘F11
|
⌃⌥D
|
|
Run
|
⌃⌘F11
|
⌃⌥R
|
|
Step Into
|
F5
|
F7
|
|
Step Over
|
F6
|
F8
|
|
Step Out
|
F7
|
⇧F8
|
|
Resume
|
F8
|
F9
|
|
Stop
|
Shift+F11
|
⌘F2
|
|
Inspect/Evaluate
|
⇧⌘I
|
⌥F8 or ⌃⌥F8
|
Editor | General | Smart KeysEditor | General | Code CompletionKeymap|
Eclipse
|
IntelliJ
|
|
|
Open Type
|
Shift+Ctrl+T
|
Ctrl+N or Shift twice
|
|
Open Resource
|
Shift+Ctrl+R
|
Shift+Ctrl+N or Shift twice
|
|
Go to Declaration
|
F3
|
Ctrl+B
|
|
Type Hierarchy
|
F4
|
Ctrl+H
|
|
Quick Outline
|
Ctrl+O
|
Ctrl+F12
|
|
Recent Files
|
Ctrl+E
|
|
|
References/Usages
|
Shift+Ctrl+G
|
Alt+F7
|
|
Find in Files
|
Ctrl+H
|
Shift+Ctrl+F
|
|
Eclipse
|
IntelliJ
|
|
|
Move Line(s)
|
Alt+↑ and Alt+↓
|
Shift+Alt+↑ and Shift+Alt+↓
|
|
Move Method
|
Shift+Ctrl+↑ and Shift+Ctrl+↓
|
|
|
Delete Line
|
Ctrl+D
|
Ctrl+Y
|
|
Duplicate Line
|
Ctrl+Alt+↑ and Ctrl+Alt+↓
|
Ctrl+D
|
|
Quick Fix
|
Ctrl+1
|
Alt+Enter
|
|
Optimize Imports
|
Shift+Ctrl+O
|
Ctrl+Alt+O
|
|
Format Source
|
Shift+Ctrl+F
|
Ctrl+Alt+L
|
|
Collapse Method
|
Shift+Ctrl+NumPad +
|
|
|
Expand Method
|
Ctrl+NumPad +
|
|
|
Collapse All Methods
|
Ctrl+NumPad +
|
|
|
Expand All Methods
|
Shift+Ctrl+NumPad +
|
|
|
Template Wrap / Surround With
|
Ctrl+Alt+T
|
|
|
Template Unwrap
|
Shift+Ctrl+Delete
|
|
|
Extend/Shrink Selection
|
Ctrl+W and Ctrl+Shift+W
|
|
Eclipse
|
IntelliJ
|
|
|
Rename
|
Shift+Alt+R
|
Ctrl+Alt+R
|
|
Extract Method
|
Shift+Alt+M
|
Ctrl+Alt+M
|
|
Extract Local Variable
|
Shift+Alt+L
|
Ctrl+Alt+V
|
|
Eclipse
|
IntelliJ
|
|
|
Toggle Breakpoint
|
Shift+Ctrl+B
|
Ctrl+F8
|
|
Debug
|
F11
|
Shift+F9
|
|
Run
|
Ctrl+F11
|
Shift+F10
|
|
Step Into
|
F5
|
F7
|
|
Step Over
|
F6
|
F8
|
|
Step Out
|
F7
|
Shift+F8
|
|
Resume
|
F8
|
F9
|
|
Stop
|
Shift+F11
|
Ctrl+F2
|
|
Inspect/Evaluate
|
Shift+Ctrl+I
|
Alt+F8 or Ctrl+Alt+F8
|
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.