Shortcut comparison for those migrating from Eclipse to IntelliJ IDEA (Windows)

Switching from Eclipse to IntelliJ IDEA

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.

Operating environment

Windows 10

Input completion function (sysout, main)

function Eclipse IntelliJ IDEA
System.out.prinln sysout sout
public static void main main psvm

Editing function

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

debug

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

Shortcut comparison for those migrating from Eclipse to IntelliJ IDEA (Windows)
Conveniences I've been using since migrating from Eclipse to IntelliJ IDEA (in terms of search and Git)
Migration from Eclipse to IntelliJ (on the way)
Migrating from Eclipse server function (Tomcat) to Embed Tomcat
Docker for Windows: MySQL container does not start when migrating from Hyper-v to WSL2
VS Code FAQ for those who want to escape Eclipse
Personally recommended Intellij IDEA initial settings (updated from time to time)
Notes on character encoding when migrating from windows to Mac
Migrating from vargrant to docker
Eclipse shortcut keys (Windows, Mac)
Comparison memo for those who touch Kotlin (Android) from Swift (iOS) 1
[IntelliJ] 5 shortcut settings for convenient operation
Notes on migrating from CircleCI 1.0 to 2.0
Switch from Eclipse to VS Code
eclipse I definitely want you to use Transcendental Recommended Shortcut Key (Windows)
Settings for SSH connection from Windows to Ubuntu using public key authentication