How to modify the keyboard shortcuts in Eclipse IDE?

EclipseKeyboard Shortcuts

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

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionshsteimerView Question on Stackoverflow
Solution 1 - EclipseDave RayView Answer on Stackoverflow
Solution 2 - EclipsepaulView Answer on Stackoverflow
Solution 3 - EclipsepjcarlyView Answer on Stackoverflow
Solution 4 - EclipseJainendraView Answer on Stackoverflow
Solution 5 - EclipseJohnnyOView Answer on Stackoverflow