IntelliJ IDEA IDEs are very popular among developers, especially Java folks. In addition to that, they support multiple languages such as Java, Scala, C/C++, Python, etc.
I have recently switched from Eclipse to IntelliJ for Java development. At first, I had very difficult time to give up Eclipse convenient shortcuts. As a result I came up with follow table as a small list of equivalent Eclipse shortcuts in IntelliJ.
Ctrl + F
→ FindCtrl + Shift + F
→ Search the projectCtrl + Shift + F10
→ Run the test in the selected cursorCtrl + Shift + N
→ Open a file that matches the patternCtrl + Tab
→ Selecting the tabCtrl + F4
→ Close the current tabCtrl + B
→ Move to declarationCtrl + G
→ Go to lineCtrl + Winkey + Alt + L
→ Correct indentation (Windows users, remove WinkeyAlt + Winkey + Left/Right
→ Switching between tab (Windows users, remove Winkey)Zoom in/out use
→ Ctrl + Mouse wheel
About zooming
By default zooming is deactivated in the IntelliJ, to enable it
- Open the Settings/Preferences dialog, expand the Editor node, and click General.
- Make sure that the setting Change font size (Zoom) with
Ctrl+Mouse Wheel
is enabled.
To reset zooming,
Ctrl + Shift + A
- Type Reset font size
Enabling permanent line number
Go to setting → editor → general → appearance → show line numbers