0% found this document useful (0 votes)
433 views7 pages

IntelliJ IDEA and Eclipse Shortcuts - Catalysts

The document compares shortcuts between IntelliJ IDEA and Eclipse IDEs. It provides a table listing common shortcuts and their equivalents between the two IDEs to help users switching between them. The document also notes that an IntelliJ plugin can make it behave similarly to Eclipse with the same shortcuts.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
433 views7 pages

IntelliJ IDEA and Eclipse Shortcuts - Catalysts

The document compares shortcuts between IntelliJ IDEA and Eclipse IDEs. It provides a table listing common shortcuts and their equivalents between the two IDEs to help users switching between them. The document also notes that an IntelliJ plugin can make it behave similarly to Eclipse with the same shortcuts.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

IntelliJ IDEA and Eclipse Shortcuts | Catalysts

26/11/14

back
select Category

IntelliJ IDEA and Eclipse Shortcuts


Postet on 2011-01-20 in Wissenswertes

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

show the type hierarchy

ctrl+alt+g

ctrl+alt+F7

find usages

ctrl+shift+u

ctrl+f7

finds the usages in the same file

alt+shift+r

shift+F6

rename

ctrl+shift+r

ctrl+shift+N

find file / open resource

ctrl+shift+x, j

ctrl+shift+F10

run (java program)

ctrl+shift+o

ctrl+alt+o

organize imports

ctrl+o

ctrl+F12

show current file structure / outline

ctrl+shift+m

ctrl+alt+V

create local variable refactoring

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

IntelliJ IDEA and Eclipse Shortcuts | Catalysts

26/11/14

up/down
ctrl + d

ctrl + y

delete current line

???

alt + h

show subversion history

ctrl + h

ctrl + shift + f

search (find in path)

semi set in
window->
preferences

ctrl + shift +
enter

if I want to add the semi-colon at the end of a


statement

ctrl + 1 or ctrl
+ shift + l

ctrl + alt + v

introduce local variable

alt + shift + s

alt + insert

generate getters / setters

ctrl + shift + f

ctrl + alt + l

format code

ctrl + y

ctrl + shift + z

redo

ctrl + shift + c

ctrl + /

comment out lines (my own IDEA shortcut definition


for comment/uncomment on german keyboard
layout on laptop: ctrl + shift + y)

ctrl + alt + h

ctrl + alt + h
(same!)

show call hierarchy

none ?

ctrl + alt + f7

to jump to one of the callers of a method

ctrl + shift + i

alt + f8

evaluate expression (in debugger)

F3

ctrl + b

go to declaration (e.g. go to method)

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]

hnliche Beitrge von Ray Shanley


Tapestry: How to make Grid added columns sortable
https://www.catalysts.cc/en/wissenswertes/intellij-idea-and-eclipse-shortcuts/

2/7

IntelliJ IDEA and Eclipse Shortcuts | Catalysts

26/11/14

64-bit Windows: Subclipse merkt sich Subversion-Passwort nicht (Lsung)


Architecture Definition and Checking with Classycle

You might also like


Der 21. Catalysts Coding Contest bringt viele neue Rekorde
Catalysts presents GRASP in Geneva
(Deutsch) EU: Mehr IT-Frderung fr Kinder

https://www.catalysts.cc/en/wissenswertes/intellij-idea-and-eclipse-shortcuts/

3/7

IntelliJ IDEA and Eclipse Shortcuts | Catalysts

26/11/14

Tweet

Hinterlasse einen Kommentar


Ihr Name
Ihre E-Mail*
Website
Ihr Kommentar

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

IntelliJ IDEA and Eclipse Shortcuts | Catalysts

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

This is extremely useful extremely!


03.11.2011, Gervase

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

So, Which IDE you prefer; Eclipse or Intellij ?


02.12.2011, Leonar Tambunan
Hi Leonard. In the meantime Im back working with Eclipse on a different project. I
think I prefer IntelliJ overall as an IDE because its slicker than eclipse i.e. all the parts
work very well together out of the box.
06.12.2011, Ray Shanley

very useful shortcutss..


03.01.2012, Rajan

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

IntelliJ IDEA and Eclipse Shortcuts | Catalysts

26/11/14

Eclipse Ctrl + T in IntelliJ IDEA is Ctrl + Alt + B


17.07.2012, Alex

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

Thanks a lot, very useful post,


easy to work in Intellij who has to work on Eclipse .
regards
Bhadresh Shiroya
12.09.2014, Bhadresh

Standort Linz
https://www.catalysts.cc/en/wissenswertes/intellij-idea-and-eclipse-shortcuts/

6/7

IntelliJ IDEA and Eclipse Shortcuts | Catalysts

26/11/14

A-4020 Linz, Huemerstrae 23

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

Catalysts / All rights reserved. / Imprint

https://www.catalysts.cc/en/wissenswertes/intellij-idea-and-eclipse-shortcuts/

7/7

You might also like