IntelliJ IDEA and Eclipse Shortcuts - Catalysts
IntelliJ IDEA and Eclipse Shortcuts - Catalysts
26/11/14
back
select Category
After around seven years of exclusively using Eclipse for Java development I recently
got the chance to work on a project where IntelliJ IDEA is the standard editor. All of a
sudden my tried and tested Eclipse keyboard shortcuts didnt work any more. Im still in
the process of learning the IntelliJ Shortcuts but here are my favourites up to now (with
equivalent Eclipse shortcuts). This may be of help to anyone else switching over from
Eclipse to IntelliJ. Of course, there is an IntelliJ Plugin available which makes IntelliJ IDEA
behave like Eclipse (same shortcuts and compiler behaviour) but why do that?
In the table below, in some cases, the shortcuts do not map 1:1 but they achieve the
same effect.
Eclipse
IntelliJ IDEA
Description
F4
ctrl+h
ctrl+alt+g
ctrl+alt+F7
find usages
ctrl+shift+u
ctrl+f7
alt+shift+r
shift+F6
rename
ctrl+shift+r
ctrl+shift+N
ctrl+shift+x, j
ctrl+shift+F10
ctrl+shift+o
ctrl+alt+o
organize imports
ctrl+o
ctrl+F12
ctrl+shift+m
ctrl+alt+V
syso
ctrl+space
sout ctrj+j
System.out.println()
alt + up/down
ctrl + shift +
move lines
https://www.catalysts.cc/en/wissenswertes/intellij-idea-and-eclipse-shortcuts/
1/7
26/11/14
up/down
ctrl + d
ctrl + y
???
alt + h
ctrl + h
ctrl + shift + f
semi set in
window->
preferences
ctrl + shift +
enter
ctrl + 1 or ctrl
+ shift + l
ctrl + alt + v
alt + shift + s
alt + insert
ctrl + shift + f
ctrl + alt + l
format code
ctrl + y
ctrl + shift + z
redo
ctrl + shift + c
ctrl + /
ctrl + alt + h
ctrl + alt + h
(same!)
none ?
ctrl + alt + f7
ctrl + shift + i
alt + f8
F3
ctrl + b
One other thing I didnt realise at first is that the Scroll to Source button in IntelliJ IDEA is
basically the same as the Link with Editor button in Eclipse.
Ray Shanley
[email protected]
2/7
26/11/14
https://www.catalysts.cc/en/wissenswertes/intellij-idea-and-eclipse-shortcuts/
3/7
26/11/14
Tweet
Absenden
*wird nicht verffentlicht
Very useful
24.02.2011, Swap
Thanks a lot, very useful post especially for me who has to work on Intellij after
working on eclipse for few years.
08.03.2011, Ashish
https://www.catalysts.cc/en/wissenswertes/intellij-idea-and-eclipse-shortcuts/
4/7
26/11/14
Ctl+alt+L Locks the system on my Ubuntu OS. Its quite annoying. Is there an
alternative?
regards
Josh
12.03.2011, Joshua
Joshua, you can redefine the shortcut under File -> Settings -> Keymap -> Main menu
-> Code -> Reformat Code
15.03.2011, Ray Shanley
http://stackoverflow.com/questions/746109/intellij-idea-equivalent-of-eclipse-link-witheditor
This is a good one too, but apparently not a keyboard shortcut
03.11.2011, Gervase
Hey,
You can use this plugin in Eclipse if you are used with the IntelliJ IDEA shortcuts. I found
it very useful.
http://www.jroller.com/santhosh/entry/intellij_idea_key_scheme_for
06.07.2012, Alex
https://www.catalysts.cc/en/wissenswertes/intellij-idea-and-eclipse-shortcuts/
5/7
26/11/14
Hey Rey,
users that comes from eclipse corner can import a KeyMap with all shortcuts from
eclipse. You neednt install a plugin. And to your rethoric question:
Of course, there is an IntelliJ Plugin available which makes IntelliJ IDEA behave like
Eclipse (same shortcuts and compiler behaviour) but why do that?
To save a lot of time. Tell me how much time you have spend to learn all intellij
shortcuts, than you have the true answer of your question!
My personal oppinion is that eclipse is better than intellij and its free(no charge) to use.
I have used both in different projects. eclipse can do much more than intellij.
Cheers
Asterios
08.11.2012, Asterios
Useful as hell. If you google for it you can even find a relatively useful (like 80% of the
Key-Bindings are working under Windows without any side-effects) key-map to import
into eclipse that makes your eclipse use nearly the same key-bindings as your intellij
(Just in case you just have died and was reborn in hell forced to use the biggest bullshit
IDE eclipse like i have to)
12.08.2013, JEEGuy
Hey, Ive done the same thing while learning IntelliJ shortcuts. This list is a little more
comprehensive and up to date: http://www.eclectide.com/blog/2014/02/27/intellijidea-shortcuts-for-eclipse-users/
10.09.2014, Darek Kay
Standort Linz
https://www.catalysts.cc/en/wissenswertes/intellij-idea-and-eclipse-shortcuts/
6/7
26/11/14
Standort Hagenberg
A-4232 Hagenberg, Gruberstrae 19
Standort Wien
A-1150 Vienna, Graumanngasse 7
Stairway B, 1st Floor
Standort Cluj
RO-400117, Cluj-Napoca
Strada Dorobantilor, No. 33-35-37
Company
Company & Philosophy
Career at Catalysts
References
Contact
Press
Imprint
Terms and Conditions
Innovation
Large-Scale Agile Projects
Big Data
High Performance Computing
Machine Learning
Follow
Catalysts
Test-Driven
Development
Community
Blog
Events
Worth Knowing
Funtastic
https://www.catalysts.cc/en/wissenswertes/intellij-idea-and-eclipse-shortcuts/
7/7