Recently, I want to graduate from Eclipse and am switching to IntelliJ IDEA.
There are various reasons such as Eclipse is heavy, it breaks quickly, and it is difficult to use. I liked that it works without having to set it up one by one, but I don't really feel the benefits of using Eclipse compared to the past. There was a time when I was working hard with VS Code, but I gave up because the complement function was weak.
Despite being made by Jetbrains, IntelliJ IDEA is free to use in the Community. It has a good reputation, so I decided to use it.
So how do you do that in Eclipse shortcuts with IntelliJ IDEA? I summarized. I only write the shortcuts that I know and use often. If I find a new shortcut, I will add it as needed.
Windows 10
| function | Eclipse | IntelliJ IDEA |
|---|---|---|
| System.out.prinln | sysout | sout |
| public static void main | main | psvm |
| function | Eclipse | IntelliJ IDEA |
|---|---|---|
| Delete row | Ctrl + D | Ctrl + L |
| Swap lines | [Alt] + ↑ or ↓ | [Alt] + [Shift] + ↑ or ↓ |
| Delete the line where the cursor is | [Ctrl] + d | [Ctrl] + y |
| Duplicate the line where the cursor is | [Ctrl] + [Alt] + ↑ or ↓ | [Ctrl] + d |
| Comment | [Ctrl] + / | [Ctrl] + / |
| Search | [Ctrl] + f | [Ctrl] + f |
| Replacement | [Ctrl] + f | [Ctrl] + r |
| Code format | [Ctrl] + [Shift] + f | [Ctrl] + [Shift] + l |
| Auto-completion | [Ctrl] + [Space] | [Ctrl] + j |
| File search | [Ctrl] + h | [Ctrl] + [Shift] + f |
| File name search | [Ctrl] + [Shift] + r | [Ctrl] + [Shift] + n |
| Call hierarchy | [Ctrl] + [Alt] + h | [Ctrl] + [Alt] + h |
| Move to definition part | F3 | [Ctrl] + b |
| Return to the place before the move | [Alt] + ← or → | [Ctrl] + [Alt] + ← or → |
| Close the editor tab | [Ctrl] + w | [Ctrl] + F4 |
| Import organization | [Ctrl] + [Shift] + o | [Ctrl] + [Alt] + o |
| function | Eclipse | IntelliJ IDEA |
|---|---|---|
| Step in | F5 | F7 |
| Step over | F6 | F8 |
| Program restart | F8 | F9 |
| View the function call result | [Ctrl] + [Shift] + i | [Ctrl] + [Alt] + F8 |
Recommended Posts