How to modify the keyboard shortcuts in Eclipse IDE?
EclipseKeyboard ShortcutsEclipse Problem Overview
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.
Eclipse Solutions
Solution 1 - Eclipse
Window > Preferences > General > Keys
In particular, edit the "Run Ant Build" command.
Solution 2 - Eclipse
For Windows:
Window > Preferences > General > Keys
Solution 3 - Eclipse
For mac that would be
Eclipse > Preferences > General > Keys
Solution 4 - Eclipse
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.
Solution 5 - Eclipse
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.