How to modify the keyboard shortcuts in Eclipse IDE?

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.


Solution 1:

Window > Preferences > General > Keys

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

Solution 2:

For Windows:

Window > Preferences > General > Keys

Solution 3:

For mac that would be

Eclipse > Preferences > General > Keys

Solution 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.