是否有适用于 Eclipse 的 IntelliJ Keymapping 插件?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/14105249/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 21:29:36  来源:igfitidea点击:

Is there an IntelliJ Keymapping plugin for Eclipse?

eclipseeclipse-pluginintellij-ideakeyboard-shortcuts

提问by Victor Grazi

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!)

我是 IntelliJ 的老用户,现在从事一个需要 Eclipse 的项目。我不介意在它们存在的地方学习 Eclipse 默认键盘快捷键,但是很多操作没有分配快捷键(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?

我想知道是否有任何插件可以自动将 IntelliJ 默认值分配给还没有映射的任何操作?

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.

作为替代方案,我想我也可以使用一个插件来清除所有 Eclipse 默认值并用 IntelliJ 版本替换它们。

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

或者我必须去手动一一替换它们:(?

回答by Ryan Stewart

The IdeaKeyScheme pluginwas 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.

IdeaKeyScheme插件只是由希望同样的事情,一个人开发的。源代码和二进制文件都可用。我自己没有尝试过,但是很多人使用它并取得了巨大的成功。它似乎是唯一的东西。

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.

如果您担心键盘映射,Eclipse关键启动器插件(称为 MouseFeed)也将是一个很大的帮助。还有一个IntelliJ 版本。我强烈推荐这个插件来提高生产力。



Installation and enabling IdeaKeyScheme plugin

安装和启用IdeaKeyScheme 插件

  1. For Eclipse: add jar file to eclipse/dropins/pluginsfolder.
  2. Restart Eclipse.
  3. Open WindowPreferencesGeneralKeysand select the scheme "Intellij Idea".
  1. 对于 Eclipse:将 jar 文件添加到eclipse/dropins/plugins文件夹。
  2. 重新启动 Eclipse。
  3. 打开WindowPreferencesGeneralKeys并选择方案“Intellij Idea”

回答by Abhiruka

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.

我想要同样的东西,因为我主要使用 IntelliJ IDEA。在 eclipse 市场上找到了这个,到目前为止它具有相同的键盘映射。

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

通过转到:窗口>>首选项>>常规>>键来激活它 :将方案更改为:IntelliJ IDEA

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

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

回答by Anton Shchastnyi

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

您可以按此处所述添加键映射:http: //www.jroller.com/santhosh/entry/intellij_idea_key_scheme_for

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

插件本身是: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!

您只需将 jar 文件放入 eclipse/plugins 并重新启动 IDE。它在 Luna 上工作得很好!

回答by razvang

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 + `

事实证明,在 IntelliJ 中,默认情况下您可以选择键盘映射方案。因此,您可以直接应用 Eclipse Shortcuts 而无需任何插件。只需按 CTRl + `

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

详情请见 http://zeroturnaround.com/rebellabs/getting-started-with-intellij-idea-as-an-eclipse-user/4/