How to prevent activating Ctrl+Alt+key bindings when pressing R.Alt+key?

二次信任 提交于 2019-12-02 03:44:36

问题


I have one very annoying issue with Eclipse under Windows. The key bindings for Ctrl+Alt+key are activated when I press Right Alt+ key. This made me viewing the list of key bindings and remove all bindings for Ctrl+Alt+key, which I would find usable, when they wouldn't block inputing characters.

I'm using keyboard mappings, where right conrol is a switch key for national characters. Right Alt+e = ę, Right Alt+O = ó etc. Eclipse seems not to be compatibile with such keyboard layouts.

Is there any possibility of switching off this behaviour and making Eclipse to use key bindings only with Left Alt key?


回答1:


No, eclipse doesn't differentiate between which CTRL key is used to execute a keybinding. It's listening for any key pressed with a modifier (CTRL, ALT, etc) in an SWT filter.

If it's not the OS consuming the CTRL and generating the national character then the eclipse keybindings could consume it before your get your correct character.



来源:https://stackoverflow.com/questions/11083877/how-to-prevent-activating-ctrlaltkey-bindings-when-pressing-r-altkey

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