How to modify the keyboard shortcuts in Eclipse IDE?

情到浓时终转凉″ 提交于 2019-11-26 07:58:17

问题


Title more or less says it all. Specifically, I\'ve become increasingly annoyed that in order to run an ant script I have to use Alt+Shift+x, q. But I think If I had this power I would many things I would change the shortcuts for/add shortcuts for things that don\'t currently have them.


回答1:


Window > Preferences > General > Keys

In particular, edit the "Run Ant Build" command.




回答2:


For Windows:

Window > Preferences > General > Keys




回答3:


For mac that would be

Eclipse > Preferences > General > Keys




回答4:


Pressing Ctrl + Shift + L will open the current list of defined shortcuts, again pressing Ctrl + Shift + L will open preference page from where the shortcuts can be modified.




回答5:


As a side note make sure your newly mapped Shortcut won't have any conflicts on the right of the Keys window/menu.

If so choose a combination that will work; doesn't have any conflicts with existing ( default ) settings.

Hope this helps.



来源:https://stackoverflow.com/questions/461743/how-to-modify-the-keyboard-shortcuts-in-eclipse-ide

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