Cheatography
https://cheatography.com
Keyboard shortcuts for IntelliJ mapped from corresponding shortcuts in Eclipse and other useful information when going from Eclipse to IntelliJ.
Navigation (Mac)
|
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 |
Editing (Mac)
|
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 ⌥↓ |
Refactoring (Mac)
|
Eclipse |
IntelliJ |
Rename |
F2 or ⌘⌥R |
⇧F6 |
Extract Method |
⌘⌥M |
Extract Local Variable |
⌘⌥L |
⌘⌥V |
Debug (Mac)
|
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 |
Settings
"Camel Hump" Words
Editor | General | Smart Keys
Enable Use "CamelHumps" words.
Disable Honor "CamelHumps" words settings when selecting on double click.
Case Insensitve Code Completion
Editor | General | Code Completion
Disable Match case.
Useful Key Mappings (Mac)
Keymap
Set Main Menu | Code | Comment with Line Comment to ⌘7.
Set Main Menu | Window | Editor Tabs | Close All Tabs to ⇧⌘W.
Set Main Menu | Window | Editor Tabs | Select Next Tab to ⌃⇟.
Set Main Menu | Window | Editor Tabs | Select Previous Tab to ⌃⇞.
Set Editor Actions | Move Caret to Text Start to ⌘↑.
Set Editor Actions | Move Caret to Text Start with Selection to ⇧⌘↑.
Set Editor Actions | Move Caret to Text End to ⌘↓.
Set Editor Actions | Move Caret to Text End with Selection to ⇧⌘↓. |
|
|
Navigation (Windows)
|
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 |
Editing (Windows)
|
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 |
Refactoring (Windows)
|
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 |
Debug (Windows)
|
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 |
|
Created By
Metadata
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets