running "external tools" from context menu [message #670185] |
Thu, 12 May 2011 20:44  |
Eclipse User |
|
|
|
Hi,
I created "external tools" program that uses any selected resource (${resource_loc}).
Currently in order to invoke it the following should be done:
* Select a resource (file / directory ...)
* Using "external tools" drop menu / run -> external tools -> ... / ALT R+E
I would like to have a context menu that will invoke this "external tools" program. It should work on any resource inside a project.
I would appreciate any suggestion / comments.
Thanks a lot,
Yevgeny
|
|
|
|
|
|
Re: running "external tools" from context menu [message #671486 is a reply to message #670989] |
Wed, 18 May 2011 01:33   |
Eclipse User |
|
|
|
Paul Webster wrote on Mon, 16 May 2011 09:09With the correct external tool launch config (containing ${selected_resource_loc}), then selecting a resource and then a keybinding and your external tool will be run on your current selection.
Which part are you not looking for, exactly? The fact that the keybinding only launches the last one, because you have more than one external tool? As you launch more than one external tool, that information becomes available in the external tool dropdown (which would allow you to drop down the menu and select from more than one).
Or the part where you mention a context menu? That's just not available, and is only an aid to executing a command in the first place.
PW
Hi PW,
I am interested in the "context menu" part. The rest I was able to do. Because my external tool configuration uses ${selected_resource_loc}, it is much more intuitive to use context menu on a resource. I can implementing context menu myself, but how do I connect it to existing external tool configuration?
Thanks a lot,
Yevgeny
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08746 seconds