Skip to end of metadata
Go to start of metadata

Redirection Notice

When you switch to a different IDE one of the things you miss most is your old favourite keyboard shortcuts

IntelliJ IDEA has its own keyboard shortcuts but also allows you to choose from a variety of alternate keymaps from a few popular IDE's including Eclipse, Visual Studio, and EMACS. A keymap is simply a list of bindings established between a keyboard shortcut and a command available from the IDE. For this reason, two keymaps may be fully comparable only if both IDEs expose the same set of commands.

Eclipse Keymap vs. IntelliJ IDEA Keymap

Let's review the major differences existing between the Eclipse and IntelliJ IDEA default keymaps. The table below lists a few of the differences but it should not be considered an exhaustive list.


IntelliJ IDEA


Open any file quickly

Ctrl + Shift + N

Ctrl + Shift + R

Find a type or class

Ctrl + N

Ctrl + Shift + T

Show all the members of current type

Ctrl + F12

Ctrl + O

Jump to source



To jump from one member to the next (or previous)

Alt + ↓ Alt + ↑

Ctrl + Shift + ↓ Ctrl + Shift + ↑

Go to parent class

Ctrl + B

Ctrl + T

Back and forth through the files you have visited

Ctrl + Alt + ← Ctrl + Alt + →

Alt + ← Alt + →

Last edit location

Ctrl + Shift + Backspace

Ctrl + Q

Delete line

Ctrl + Y

Ctrl + D

Duplicate line

Ctrl + D

Ctrl + Alt + ↓

Open hierarchy

Ctrl + H


Organize imports

Ctrl + Alt + O

Ctrl + Shift + O

Find next / previous

F3 / Shift + F3

Ctrl + K / Shift + Ctrl + K


Shift + F9



Shift + F10

Ctrl + F11

Step Into



Step Over



Step Out

Shift + F8





Rename in place

Shift + F6

Alt + Shift + R

Format code

Ctrl + Alt + L

Ctrl + Shift + F

Change signature

Ctrl + F6

Alt + Shift + C

Quick fix

Alt + Enter

Ctrl + 1

View Javadoc for member

Ctrl + Q

Mouse over

Note that in Eclipse you can also get the list of shortcuts by hittingCtrl + Shift + LIf you want to look (or even print) at the entire set of IntelliJ IDEA keyboard shortcuts, instead, you click the Default Keymap Reference element on the Help menu.

Importing the Eclipse Keymap in IntelliJ IDEA

From the Settings dialog box, you select Keymap from the IDE settings block. That's enough to map common actions to the same typical shortcuts in use within Eclipse.

The imported keymap instructs IntelliJ IDEA to recognize typical Eclipse shortcuts for all editor actions that are common to both IDEs.

Creating Your Own Key Mappings

In IntelliJ IDEA you can create your own custom keyboard mappings in much the same way you do in Eclipse.

You should first create a copy of an existing keymap. This ensures that you can extend a base keymap without taking the risk of losing some of the predefined settings. To do so, you derive a copy of the selected keymap by clicking the Copy button. Next, you select the IDE command for which you want to add a shortcut. For example, suppose you want to extend the default key map with a shortcut to close all editor tabs instantaneously. The Close All command is not bound to any shortcut by default.

You right-click on the command to bring up the window through which IntelliJ IDEA allows you to add up to two keyboard combination. If the selected command is already bound to the keyboard, you can remove one or both of the existing shortcuts.

IntelliJ IDEA accepts your shortcut only if it hasn't been assigned to other commands. By associating Close All withCtrl + Alt + F10you now obtain the same effect asCtrl + Shift + F4in Eclipse.

  • No labels


  1. Anonymous

    Bingo..!!! just what I was looking for.


  2. Anonymous

    These mappings are for Windows.  Is there a similar list for Mac?

  3. Anonymous

    Perfect help to use Eclipse settings in IntellijIDEA

  4. Anonymous

    Very Helpful!! 

  5. Anonymous

    Perfect..Really helpful

  6. Anonymous

    This is exactly what i was looking for...


  7. Anonymous

    Thanks a lot!!! helpful a lot

  8. Anonymous

    Thanks.... very helpful


  9. Anonymous

    Awesome, I was looking for this info. 

  10. thanks, very helpful article

  11. Anonymous

    Thanks.. Very Helpful.

  12. Anonymous

    I was totally immobilized having to use intellij after using eclipse for 11 years L Do whatever, before I cud think my fingers had typed in eclipse shortcuts… Thanks a ton to this post… I’m able to breathe again in intellij. UFFFF!!!!!!!! Kudos to you!!

  13. Anonymous

    Is there a way to create a shortcut to switch between intellij and eclipse keymap ?