Eclipse for Mac Cheat Sheet
Complete guide to Eclipse for Mac shortcuts.
Comments
| Shortcut | Description |
|---|---|
| Command + / | Comment & Uncomment |
| Command + Ctrl + / | Comment multiple lines |
| Command + Ctrl + \ | Uncomment multiple lines |
Search
| Shortcut | Description |
|---|---|
| Command + o | Quick Search Method |
| Command + f | Find / Replace |
| Command + k | Find Next (selected word) |
| Command + shift + k | Find Previous (selected word) |
Line Operations
| Shortcut | Description |
|---|---|
| alt + Up | Move current line up |
| alt + Down | Move current line down |
| Command + d | Delete current line |
| Command + z | Undo last action |
| Command + alt + Up | Copy current line above |
| Command + alt + Down | Copy current line below |
| Shift + Enter | Insert empty line below current line |
| Ctrl + q | Jump to last edit location |
Others
| Shortcut | Description |
|---|---|
| Command + e | Quick switch tabs |
| Command + 1 | Quick fix |
| Command + q | Close Eclipse |
| Command + Ctrl + f | Toggle full screen |
| Command + w | Close current tab |