Reputation: 4833
In Eclipse, I have external tools defined in Eclipse that I execute regularly. I'd like to save me some time by wiring them to a hotkey. I've done some googling on this and most of the information I've found is from last decade. I'm also fully aware that I can wire a hot key to "Last executed external tool", but that last tool isn't always the same.
How do I wire an external tool defined in Eclipse to a hotkey?
Upvotes: 0
Views: 966
Reputation: 1
The way I do it:
Whenever I want to invoke the tool:
This can be done really fast. It's the closest thing to a hotkey. After 3 days you won't notice the difference...
Upvotes: 0
Reputation: 4833
I eventually landed on using AutoHotKey to define additional hotkeys to run external tools.
Upvotes: 0
Reputation: 11
Maybe this could be helpful to you, http://www.eclipse.org/forums/index.php/t/88391/ Here you can possible get som help. Coute :" There currently is a command for running the last external tool See Window>Preferences>Workbench>Keys It is in the Run/Debug category; Run Last Launched External Tool By default it is not mapped to a shortcut. I have it mapped to F9"
Upvotes: 1
Reputation: 15245
I don't know if you can bind a key to this, but the PathTools eclipse plugin lets you register a set of custom command lines, which you can select from a menu. If you can bind a key to selecting it from a menu, then that works.
Upvotes: 2