60

I am an old IntelliJ user, now working on a project that requires Eclipse. I don't mind learning the Eclipse default keyboard shortcuts where they exist, but so many operations don't have shortcuts assigned (grrrr!)

I was wondering if there is any plugin that would automatically assign the IntelliJ defaults to any action that does not already have a mapping?

As an alternative I guess I could also use a plugin that just wipes out all of the Eclipse defaults and replaces them with the IntelliJ versions.

Or do I have to just go and manually replace them all one by one :( ?

Victor Grazi
  • 15,563
  • 14
  • 61
  • 94

5 Answers5

57

The IdeaKeyScheme plugin was just developed by one guy that wanted the same thing. Source and binary are available. I haven't tried it myself, but many people use it with great success. It seems to be the only thing out there.

If you're concerned about keyboard mappings, the Key Promoter plugin for Eclipse (known as MouseFeed) will be a big help, too. There's also an IntelliJ version. I highly recommend this plugin for productivity enhancement.


Installation and enabling IdeaKeyScheme plugin

  1. For Eclipse: add jar file to eclipse/dropins/plugins folder.
  2. Restart Eclipse.
  3. Open WindowPreferencesGeneralKeys and select the scheme "Intellij Idea".
Daniel A.A. Pelsmaeker
  • 47,471
  • 20
  • 111
  • 157
Ryan Stewart
  • 126,015
  • 21
  • 180
  • 199
  • 1
    Sorry, you have it reversed. My fingers are very used to the IntelliJ shortcuts. I am now having to use Eclipse, and wishing there were an IntelliJ keyboard mapping, parallel to the Eclipse keymaps provided by intelliJ. And as I said, I don't mind learning the Eclipse shortcuts, but so many operations are not mapped in Eclipse. What's up with that? – Victor Grazi Dec 31 '12 at 19:56
  • Ryan - Your plugin is awesome, just what the doctor ordered. Can you modify your original answer and I will accept it as the correct answer. – Victor Grazi Jan 02 '13 at 22:26
  • Moved my comments into the answer. – Ryan Stewart Jan 03 '13 at 01:40
  • copying the jar to the plugin directory of eclipse didn't work! how should i enable it in right way? 'll the plugin comes with both intellij and eclipse shortcuts (eg.view is specific to eclipse) – Dineshkumar Nov 19 '14 at 10:42
  • @Dineshkumar Open Preferences General>Keys and enable the Scheme "Intellij Idea" – damoeb Apr 08 '15 at 16:04
  • 1
    For Eclipse Mars: add jar file to "eclipse/dropins/plugins" folder – sembozdemir Nov 19 '15 at 09:44
  • I went to the mousefeed site and it apparently is a pron site now. – Tim Ottinger May 28 '15 at 17:03
  • The key scheme did show in Neon but it doesn't do the most basic shortcuts like move up/down or yank :( – Albert Vila Calvo Oct 15 '16 at 17:07
  • 4
    I downloaded this plugin for Eclipse Neon. At first sight it seems to works. Thanks a lot – K. Gol Jan 10 '17 at 08:03
  • Had a quick test with Eclipse Oxygen. Basic IntelliJIDEA shortcuts are working. Thank you, a lot indeed! – Ishan Thilina Somasiri Dec 30 '17 at 06:39
  • 1
    Thanks @Ryan Stewart, the plugins works amazing. One issue I faced is for the search everything option(For intellij the shortcut is Double Shift). The plugin doesnt change this shortcut. Its still ctrl + SHift + R. Is there any option for changing this to Double shift? – Jithesh Gopinathan Mar 03 '18 at 01:21
  • Currently working on Eclipse Photon without any problems. Used all the basic shortcuts. – Rany Albeg Wein Jul 18 '18 at 12:30
  • Working for Eclipse Oxygen too ! Just add the jar as explained by @RyanStewart – riroo Jan 30 '19 at 09:01
6

I wanted the same thing since I predominantly use IntelliJ IDEA. Found this on the eclipse market place and up to now it has the same keymappings.

Activate it by going to : Window >> Preferences >> General >> Keys : change the scheme to : IntelliJ IDEA

https://marketplace.eclipse.org/content/intellij-idea-keymap-eclipse

Emad Razavi
  • 1,903
  • 2
  • 17
  • 24
Abhiruka
  • 61
  • 1
  • 2
0

You may add a key map as described here: http://www.jroller.com/santhosh/entry/intellij_idea_key_scheme_for

The plugin itself is: http://jroller.com/santhosh/resource/IdeaKeyScheme.jar

You need just to put the jar file into eclipse/plugins and restart IDE. It works on Luna just fine!

Anton Shchastnyi
  • 3,812
  • 3
  • 20
  • 23
  • 1
    It didn't work when I put it in `eclipse/plugins`. I had to place it in `eclipse/dropins/plugins` (I created the folder in `dropins`) then it worked. Hopefully that helps someone – josephnvu Jun 27 '17 at 16:47
0

Open your eclipse software Drag and drop Installer button from

https://marketplace.eclipse.org/content/intellij-idea-keymap-eclipse

in your always open eclipse and that's all

M E S A B O
  • 783
  • 1
  • 11
  • 15
-4

It turns out that in IntelliJ, by default you can choose a keymap scheme. So you can just apply the Eclipse Shortcuts without any plugin. Just press CTRl + `

Details here http://zeroturnaround.com/rebellabs/getting-started-with-intellij-idea-as-an-eclipse-user/4/

razvang
  • 1,055
  • 11
  • 15