In eclipse, how can I create a shortcut for an existing command that has no shortcut binding in the

Posted by Visus Zhao on Stack Overflow See other posts from Stack Overflow or by Visus Zhao
Published on 2010-05-13T04:17:04Z Indexed on 2010/05/13 4:24 UTC
Read the original article Hit count: 308

Filed under:
|

In eclipse, the behavior of Ctrl+F11 is determined by preference config, and you could have either "Run last launch in history" or "Run current resource/editor" option available.

But I'd like to have both of them at the same time, with an additional shortcut (e.g. Alt+F11). But eclipse doesn't provide the two commands in "key preference".

Can I create a new shortcut that links to the "Run last launched" or "Run current editor"? It'd be even better if i could make a shortcut to show the launch history(the arrow beside the green little run button)

Is this possible? could anyone give a quick hint on where to find resources to implement it?

P.S.: Maven plugin's "Add dependency" common is another good candidate.

© Stack Overflow or respective owner

Related posts about eclipse

Related posts about eclipse-plugin