更改 Eclipse 快捷方式以匹配 Visual Studio

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/4742595/
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-19 15:40:23  来源:igfitidea点击:

change eclipse shortcuts to match Visual Studio

visual-studioeclipsekeyboard-shortcutsconfigure

提问by BrokeMyLegBiking

Is there a way to change keyboard shortcuts in Eclipse to match those in Visual Studio 2010?

有没有办法更改 Eclipse 中的键盘快捷键以匹配 Visual Studio 2010 中的快捷键?

I am a C# developer and I am used to Visual Studio shortcuts. I am now using Eclipse to do some Java programming. It is fun, but painful because my brain is hard-wired :).

我是一名 C# 开发人员,我习惯于 Visual Studio 快捷方式。我现在正在使用 Eclipse 进行一些 Java 编程。这很有趣,但很痛苦,因为我的大脑是硬连线的 :)。

回答by Emir

after installing the C/C++ Development Tools (CDT) there should be Visual Studio scheme available (from Windows > Preferences > General > Keys)

安装 C/C++ 开发工具 (CDT) 后,应该有可用的 Visual Studio 方案(从 Windows > Preferences > General > Keys)

more informations (with screenshots) can be found on Configure Eclipse to use VS.Net shortcuts?

可以在配置 Eclipse 以使用 VS.Net 快捷方式上找到更多信息(带屏幕截图)

I've just tried it using Spring's eclipse distribution (spring source tool suite) and it works

我刚刚使用 Spring 的 eclipse 发行版(spring 源工具套件)尝试过它并且它有效

回答by Alex_M

should be very easy

应该很容易

  • open preferences (Window->Preferences)
  • type keys in the search box
  • locate General->Keys
  • type the command you want to modify
  • modify the binding
  • type your binding in the search list to make sure no other command is using the same binding
  • 打开首选项(窗口->首选项)
  • 在搜索框中键入关键字
  • 找到常规->键
  • 输入要修改的命令
  • 修改绑定
  • 在搜索列表中键入您的绑定以确保没有其他命令使用相同的绑定

tadaa!

多啊!

p.s.: a c# ide plugin for eclipse would be great. i'm a java/eclipse rcp developer, but i like c# as language. i haven't done anything serious yet because of visual studio. it feels like some old java ide from the 90's.

ps:用于 Eclipse 的 ac# ide 插件会很棒。我是一名 java/eclipse rcp 开发人员,但我喜欢 c# 作为语言。由于visual studio,我还没有做任何严肃的事情。感觉就像是 90 年代的旧 Java IDE。

回答by user353829

Write a plug-in for Eclipse - it is not too difficult.

为 Eclipse 编写一个插件——并不太难。