Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse keyboard shortcut to an Ant task?

Is there a way to run a specific Ant task via the keyboard? I have a rsync to dev task that I run a lot and running to the mouse to double-click is a pain.

like image 886
thrashr888 Avatar asked Dec 16 '08 00:12

thrashr888


People also ask

How do I set hotkeys in Eclipse?

the main preference page can be found under window > preferences > general > keys (or faster: press ctrl+3 , type keys and press enter ). from here you can see all commands and assign/change their associated keyboard shortcuts.


2 Answers

If you launch regularly the same external launch, you can assign a shortcut to the command:
"Run Last Launched External Tool"

(Windows/Preferences: type Keys, then launch, tested with Eclipse Ganymede 3.4.1)

like image 61
VonC Avatar answered Nov 11 '22 09:11

VonC


The following keyboard shortcut is listed in the Eclipse Ganymede help:

Run Ant Build: Alt+Shift+X, Q

like image 44
Ola Eldøy Avatar answered Nov 11 '22 10:11

Ola Eldøy