162

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.

5 Answers 5

256

Window > Preferences > General > Keys

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

3
  • 22
    Useful shortcuts : Ctrl + Shift + L for the list of currently available shortcuts, and hit Ctrl + Shift + L again to show the shortcut preference window. Commented May 6, 2011 at 13:10
  • For the ones who use Sublime, overiding a shorctut Ctrl + p is a must
    – MRodrigues
    Commented Apr 10, 2015 at 9:26
  • @krookedking comment is more useful. Check for conflicts when applying new shortcuts.Ctrl+Shift+L and again Ctrl+Shift+L
    – Chinmoy
    Commented Mar 28, 2017 at 5:13
30

For Windows:

Window > Preferences > General > Keys

21

For mac that would be

Eclipse > Preferences > General > Keys

16

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.

1

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.

Not the answer you're looking for? Browse other questions tagged or ask your own question.