Eclipse 快捷键在 Windows 中突然不起作用

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

Eclipse shortcut keys are not working suddenly in Windows

eclipseeclipse-pluginmyeclipse

提问by Sun

Eclipse shortcut keys are not working suddenly in Windows, Even basic needed shortcut keys also like 'ctrl + F' or 'crtl + c'. I hope if i restart the eclipse it will resolve, but i can not do, bucause my applications are running in eclipse. I ensured that this happening in eclipse or all windows. But not happening same in notepad++ editor.

Eclipse 快捷键在 Windows 中突然不起作用,即使是基本需要的快捷键也如 'ctrl + F' 或 'crtl + c'。我希望如果我重新启动 eclipse 它将解决,但我不能这样做,因为我的应用程序正在 eclipse 中运行。我确保这发生在 eclipse 或所有窗口中。但在记事本++编辑器中不会发生同样的情况。

It looks wonder but it happening.

看起来很奇怪,但它正在发生。

回答by Francisco Dantas Nobre Neto

My problem was solved when I restored defaults values of my Keys.
Go to Window -> Preferences -> General -> Keys.
Then, click Restore Defaults button at the bottom, and restart Eclipse.
I am using Eclipse Juno.

当我恢复密钥的默认值时,我的问题解决了。
转到窗口 -> 首选项 -> 常规 -> 键。
然后,单击底部的恢复默认值按钮,并重新启动 Eclipse。
我正在使用 Eclipse Juno。

回答by david99world

This is a bug in Eclipse Juno, restarting Eclipse does solve it temporarily, I'll try an dig out the bug report.

这是Eclipse Juno中的一个错误,重启Eclipse确实可以暂时解决它,我会尝试挖掘错误报告。

Bug report https://bugs.eclipse.org/bugs/show_bug.cgi?id=385278

错误报告https://bugs.eclipse.org/bugs/show_bug.cgi?id=385278

Comment from bug description...

来自错误描述的评论...

I am also facing a lot of problems regarding the keyboard shortcuts. The issue is intermittent and all of a sudden most of the key board shortcuts(specifically f3, ctrl+D, ctrl+O ) stop working unless I restart my IDE.

我也面临着很多关于键盘快捷键的问题。这个问题是间歇性的,突然间大多数键盘快捷键(特别是 f3、ctrl+D、ctrl+O)停止工作,除非我重新启动我的 IDE。

回答by Marcos Vasconcelos

Based on the link posted by david99world

基于 david99world 发布的链接

Changing perspective and going back does also solve this, that does looks like is a focus problem.

改变视角和回去也解决了这个问题,这看起来确实是一个焦点问题。

回答by Thander

My problem was solved this way: Go to Window -> Preferences -> General -> Keys

我的问题是这样解决的:转到 Window -> Preferences -> General -> Keys

and look at the "Scheme:" control. Change it to "Default". If only that doesnt do it for you, in the field "Binding:" leave it blank.

并查看“方案:”控件。将其更改为“默认”。如果这对您不起作用,请在“绑定:”字段中将其留空。

For me it worked.

对我来说它奏效了。