Key binding for "Terminate" outside of Debug Perspective [message #247858] |
Tue, 05 February 2008 04:05  |
Eclipse User |
|
|
|
Originally posted by: asdf007.mailinator.com
Hello everyone,
I have been a fervent Eclipse user for a few years now and have always
wished for a way to terminate a running application via a hotkey (I'm
quite a hotkey addict).
There is a binding to CTRL+F2 which seems to work in the Debug
Perspective. The thing is, I often launch my application in Run mode just
to try it out with no debugging, therefore staying within the Java (or
whatever) perspective. In this one, CTRL+F2 doesn't work. So I tried
changing the "When" property of the binding to "In Windows" (why are there
two "In Windows" btw?)... still no result. CTRL+F2 still won't do anything.
My version of Eclipse is 3.3.1.1 Europa.
Any idea? Is there a way to make it work from anywhere in Eclipse?
Thanks in advance.
|
|
|
Re: Key binding for "Terminate" outside of Debug Perspective [message #247916 is a reply to message #247858] |
Tue, 05 February 2008 09:35   |
Eclipse User |
|
|
|
Bob Roger wrote:
> Hello everyone,
> I have been a fervent Eclipse user for a few years now and have always
> wished for a way to terminate a running application via a hotkey (I'm
> quite a hotkey addict).
>
> There is a binding to CTRL+F2 which seems to work in the Debug
> Perspective. The thing is, I often launch my application in Run mode
> just to try it out with no debugging, therefore staying within the Java
> (or whatever) perspective. In this one, CTRL+F2 doesn't work. So I tried
> changing the "When" property of the binding to "In Windows" (why are
> there two "In Windows" btw?)... still no result. CTRL+F2 still won't do
> anything.
>
> My version of Eclipse is 3.3.1.1 Europa.
>
> Any idea? Is there a way to make it work from anywhere in Eclipse?
>
> Thanks in advance.
>
Hi Bob. I believe that the Terminate command only works during a debug
session. If you open the Debug perspective and go Window / Customize
Perspective and select the Commands tab, and select the Debug command
group, the Terminate command is in that group. I think this means that
the Terminate command only is defined in this context.
As an alternative, you could run your program in Debug mode will no
breakpoints set. In this case, you could still use Terminate to halt the
program, but otherwise, it would work just like Run As.
Hope this helps. Mark
|
|
|
Re: Key binding for "Terminate" outside of Debug Perspective [message #248006 is a reply to message #247916] |
Tue, 05 February 2008 18:41  |
Eclipse User |
|
|
|
"Mark Dexter" <dextercowley@gmail.com> wrote in message
news:fo9s8t$kl2$1@build.eclipse.org...
> Bob Roger wrote:
>> Hello everyone,
>> I have been a fervent Eclipse user for a few years now and have always
>> wished for a way to terminate a running application via a hotkey (I'm
>> quite a hotkey addict).
>>
>> There is a binding to CTRL+F2 which seems to work in the Debug
>> Perspective. The thing is, I often launch my application in Run mode just
>> to try it out with no debugging, therefore staying within the Java (or
>> whatever) perspective. In this one, CTRL+F2 doesn't work. So I tried
>> changing the "When" property of the binding to "In Windows" (why are
>> there two "In Windows" btw?)... still no result. CTRL+F2 still won't do
>> anything.
>>
>> My version of Eclipse is 3.3.1.1 Europa.
>>
>> Any idea? Is there a way to make it work from anywhere in Eclipse?
>>
>> Thanks in advance.
>>
> Hi Bob. I believe that the Terminate command only works during a debug
> session. If you open the Debug perspective and go Window / Customize
> Perspective and select the Commands tab, and select the Debug command
> group, the Terminate command is in that group. I think this means that the
> Terminate command only is defined in this context.
>
> As an alternative, you could run your program in Debug mode will no
> breakpoints set. In this case, you could still use Terminate to halt the
> program, but otherwise, it would work just like Run As.
>
> Hope this helps. Mark
Terminate will work for run as well as debug.
You can add/enable the Debug command group to any perspective using Window /
Customize Perspective>Commands.
Then open the Debug view in the Java perspective (as a Fast view perhaps)
and you should get your Terminate keybinding.
HTH
Darins
|
|
|
Powered by
FUDForum. Page generated in 0.08855 seconds