Keyboard shortcuts in Eclipse Oxygen

孤者浪人 提交于 2019-11-27 08:38:57

问题


I was working in Eclipse yesterday, when my keyboard shortcuts stopped working. They all worked until yesterday. Pressing Ctrl+Shift causes a popup saying the cursor does not (yet) have a detectable image. Ctrl works fine, and so does Shift + a letter. Only Ctrl+Shift+any key causes this error. Even just pressing Ctrl+Shift by itself causes the popup:

I use Eclipse with the Darkest Dark Theme plug-in on Windows 10.

What is causing this error, and how can I fix it? Thanks in advance.


回答1:


Try to uninstall the Darkest Dark Theme plug-in.

This closed source plug-in does load-time weaving to patch Java bytecode of the Eclipse platform (for legal reasons, to not have to publish their changes). In contrast of using a public API, load-time weaving patches have to be adapted for each (new) Eclipse version: an error in the plug-in can cause strange behavior of the Eclipse platform.




回答2:


As has been mentioned by Howlger, yes, Darkest Dark's Icon Designer uses Control-Shift when hovering over an icon to allow you to find the icon that you wish to tailor. This listener only activates if you have the view in your workspace, and I believe only if you have brought the view to the foreground. That said, we have a change in the next release to explicitly allow you to opt-in to using Control-Shift to find an icon.

Screenshot of explicit opt-in

This doesn't specifically have anything to do with open source or otherwise - simply the software behaving as designed



来源:https://stackoverflow.com/questions/45436029/keyboard-shortcuts-in-eclipse-oxygen

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!