网络文章

IntelliJ IDEA shortcuts for Eclipse users

SwitchingfromEclipseto IntelliJIDEA wasagreatdecision.Eclipseofcoursegetsthingsdone,butnotasfast,notasflawless,notas intelligent asIntelliJ.Andyet,theswitchingprocesstookmesometime

Switching from Eclipse to IntelliJ IDEA was a great decision. Eclipse of course gets things done, but not as fast, not as flawless, not as intelligent as IntelliJ.
And yet, the switching process took me some time. Especially learning new shortcuts was a little bit irritating. Performing basic tasks took me minutes, because I had to look up the correct shortcut each time. It’s possible to use an Eclipse shortcut mapping, but since I wasn’t going to switch back, I’ve decided to learn the default mapping. JetBrains offers a nice overview (PDF) containing most important shortcuts. In order to find the correct row faster, I have added another column with Eclipse shortcuts.

So let’s say I want to see a class outline. I know it’s Ctrl + O in Eclipse. Now I just have to look for this shortcut in the first column to find the IntelliJ equivalent. For a shortcut junkie like me this is a lot faster than reading the action descriptions. I hope this helps other software developers, too.
Let me know if any shortcut mapping is wrong or missing.

Update 17.10.2015
A friend of mine wrote a script to make the search more interactive. Check it out!


EclipseIntelliJ IDEAAction
Editing
Ctrl + SpaceCtrl + SpaceBasic code completion (the name of any class, method or variable)

Ctrl + Shift + SpaceSmart code completion (filters the list of methods and variables by expected type)
Ctrl + Shift + SpaceCtrl + PParameter info (within method call arguments)
F2Ctrl + QQuick documentation lookup

Ctrl + mouse overBrief Info
F2Ctrl + F1Show descriptions of error or warning at caret

Alt + InsertGenerate code... (Getters, Setters, Constructors, hashCode/equals, toString)

Ctrl + OOverride methods

Ctrl + IImplement methods

Ctrl + Alt + TSurround with... (if..else, try..catch, for, synchronized...)

C

原创不易,完成人机校验,阅读全文

相关推荐

© 凯哥Java · KAIGE.DEV · 记录真实开发问题与工程实践