Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

IntelliJ IDEA has its own keyboard shortcuts but also allows you to choose from a variety of alternate keymaps from a few popular IDE 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 default keymaps. The table below lists a few of the differences but it should not be considered an exhaustive list.

...


Note that in Eclipse you can also get the list of shortcuts by hitting

span
classshortcut
Ctrl + Shift + L
. If 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. In IntelliJ IDEA, 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.

...