Hotkey: run last run configuration? [message #480607] |
Mon, 17 August 2009 16:55  |
Eclipse User |
|
|
|
Originally posted by: mevanclark.hotmail.com
Hi all,
Something I do very frequently in Eclipse is re-run the most recently
run "Run Configuration." However, there does not seem to be a Command
available in Preferences->Keys so that I can create a key-binding for
this.
I resort to the mouse: using the "split button" down-arrow next to the
green "Run" button on the toolbar and selecting the first entry there.
I suppose I could also use the menu accelerators: Alt-r,t,1 but I
wouldn't mind something a little easier.
Hotkey Commands I have tried include:
"Run" (Ctrl-F11), but this runs the active file, not the most recently
run "Run Configuration." As my projects are fairly complex, I am not
usually looking at the file which contains the "main" method, so using
this hotkey would require locating and opening the class which does
contain the Main method.
There is "Run Last Launched External Tool," but I am not using
external tool configurations to launch my Java main() methods.
There is "Profile Last Launched," but I don't want to profile, I just
want to run.
There is "Rerun JUnit Test" -- which seems to do what I want, except
it's for JUnit tests, not main() methods.
So am I the only one who really reuses the same "Run Configuration"
over and over again iteratively while developing?? :-) This seems
like a no-brainer candidate for a hotkey to me, maybe I am just
missing something.
Mike
|
|
|
Re: Hotkey: run last run configuration? [message #480624 is a reply to message #480607] |
Mon, 17 August 2009 21:00   |
Eclipse User |
|
|
|
Mike Clark wrote:
> Hi all,
>
> Something I do very frequently in Eclipse is re-run the most recently
> run "Run Configuration." However, there does not seem to be a Command
> available in Preferences->Keys so that I can create a key-binding for
> this.
>
> I resort to the mouse: using the "split button" down-arrow next to the
> green "Run" button on the toolbar and selecting the first entry there.
> I suppose I could also use the menu accelerators: Alt-r,t,1 but I
> wouldn't mind something a little easier.
>
> Hotkey Commands I have tried include:
>
> "Run" (Ctrl-F11), but this runs the active file, not the most recently
> run "Run Configuration." As my projects are fairly complex, I am not
> usually looking at the file which contains the "main" method, so using
> this hotkey would require locating and opening the class which does
> contain the Main method.
>
> There is "Run Last Launched External Tool," but I am not using
> external tool configurations to launch my Java main() methods.
>
> There is "Profile Last Launched," but I don't want to profile, I just
> want to run.
>
> There is "Rerun JUnit Test" -- which seems to do what I want, except
> it's for JUnit tests, not main() methods.
>
> So am I the only one who really reuses the same "Run Configuration"
> over and over again iteratively while developing?? :-) This seems
> like a no-brainer candidate for a hotkey to me, maybe I am just
> missing something.
>
> Mike
This "feature" can be changed in
Window->Preferences->Run/Debug->Launching->Launch Operations. You can
choose to always run the previous application.
|
|
|
Re: Hotkey: run last run configuration? [message #481386 is a reply to message #480624] |
Thu, 20 August 2009 13:39  |
Eclipse User |
|
|
|
Originally posted by: mevanclark.hotmail.com
On Mon, 17 Aug 2009 20:00:35 -0500, David Wegener
<dpwegener@gmail.com> wrote:
>Mike Clark wrote:
>> Hi all,
>>
>> Something I do very frequently in Eclipse is re-run the most recently
>> run "Run Configuration."
>> "Run" (Ctrl-F11), but this runs the active file, not the most recently
>> run "Run Configuration."
>
>This "feature" can be changed in
>Window->Preferences->Run/Debug->Launching->Launch Operations. You can
>choose to always run the previous application.
That does it! Thanks very much.
Mike
|
|
|
Powered by
FUDForum. Page generated in 0.08845 seconds