Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Toolbar Launcher Defaults to Current File, Not Last Run
Toolbar Launcher Defaults to Current File, Not Last Run [message #325519] Wed, 20 February 2008 14:21 Go to next message
Eclipse UserFriend
Hi,

At some point recently (Eclipse 3.3 ?) the behavior of the Run and Debug
buttons on the Toolbar has changed. Before, the default (if you pushed the
button without expanding the pull-down menu) was to run the last launch.
Now it appears to try to run the file you are editing.

This is not what I want (99% of the time it is not even meaningful to run
that file). Is there a preference to change it?

Any information would be appreciated.

Thanks,

-Ken
Re: Toolbar Launcher Defaults to Current File, Not Last Run [message #325538 is a reply to message #325519] Thu, 21 February 2008 09:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mark_melvin.amis.com

Yes, this is called contextual launching and is really quite good once you
get used to it. If you want, though you can revert it back to the old
behavior:

Window > Preferences > Run/Debug > Launching, and change the Launch
Operation setting.

M.

On Wed, 20 Feb 2008 14:21:02 -0500, Kenneth Evans <evans@aps.anl.gov>
wrote:

> Hi,
>
> At some point recently (Eclipse 3.3 ?) the behavior of the Run and Debug
> buttons on the Toolbar has changed. Before, the default (if you pushed
> the
> button without expanding the pull-down menu) was to run the last launch.
> Now it appears to try to run the file you are editing.
>
> This is not what I want (99% of the time it is not even meaningful to run
> that file). Is there a preference to change it?
>
> Any information would be appreciated.
>
> Thanks,
>
> -Ken
>
Re: Toolbar Launcher Defaults to Current File, Not Last Run [message #325551 is a reply to message #325538] Thu, 21 February 2008 14:23 Go to previous message
Eclipse UserFriend
Thanks. I thought I looked there but I must have missed it.

I haven't got used to it for a month or so. I am typically editing a Java,
C, or Python source file. It makes no sense to launch them (except perhaps
ones with a main method). Usually the last run launch is what I want in
those cases anyway. Fortunately, it just does nothing most of the time.

-Ken

"Mark Melvin" <mark_melvin@amis.com> wrote in message
news:op.t6vo9hxvy7f1g1@n-mmelvin.pc.amis.com...
> Yes, this is called contextual launching and is really quite good once you
> get used to it. If you want, though you can revert it back to the old
> behavior:
>
> Window > Preferences > Run/Debug > Launching, and change the Launch
> Operation setting.
Previous Topic:How to open programetically the "Generate Getters and Setters" dialog.
Next Topic:Package Explorer Handler
Goto Forum:
  


Current Time: Mon May 05 11:17:54 EDT 2025

Powered by FUDForum. Page generated in 0.04619 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top