Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Key binding for terminate - works 3.0, not 3.1
Key binding for terminate - works 3.0, not 3.1 [message #286069] Wed, 01 June 2005 15:17 Go to next message
Eclipse UserFriend
Please help me! I use a shortcut key for terminating my app extensively
and can no longer do this since upgrading to 3.1.

You can no longer map a key binding shortcut to the terminate operation
since the debug view no longer auto-selects the last run application.
Since this is the case, the terminate menu item is greyed out (in the
debug view) until you select a context (application) first. (Thus the
shortcut does nothing.) In 3.0 this was not the case.

And since the console view always selects the current application and has
a terminate button, there is no reason the app shouldn't still allow the
key binding to work.

Does anyone know how to make this work in 3.1 (it's a problem for both
builds I've tried - 3.1M3 and RC1)

You should be able to create a key binding for Terminate All, which would
also solve my problem since I mostly run one app at a time, but this
ability does not exist either.

Comments/suggestions???

Kidd_Funk
Re: Key binding for terminate - works 3.0, not 3.1 [message #286082 is a reply to message #286069] Wed, 01 June 2005 19:00 Go to previous messageGo to next message
Eclipse UserFriend
"Kidd_Funk" <jhampe@enterasys.com> wrote in message
news:a84e5f8e83d81eb0fb4e9c263d28bec9$1@www.eclipse.org...
> Please help me! I use a shortcut key for terminating my app extensively
> and can no longer do this since upgrading to 3.1.
The keybinding capability has not changed in 3.1, and I did not see any
change in behavior so far... including the way default selection occurs in
the debug view in comparing 3.10 in 3.1RC1.
Could you elaborate with simple steps?
Re: Key binding for terminate - works 3.0, not 3.1 [message #286101 is a reply to message #286082] Thu, 02 June 2005 10:24 Go to previous messageGo to next message
Eclipse UserFriend
It's not that the key binding itself is broken, just the behavior of the
debug view that has changed, effectively breaking terminate.

To see what I mean:

With a project set up to run, first have the debug view open.
Run the application in your project.

You will see in the debug view:

- <Project> [Java Application]
-<path>/j2re1.4.2/bin/javaw.exe(Date started)


This is the issue- in 3.0 and earlier, the javaw.exe line if the last run
application would AUTOMATICALLY get selected. This in turn would enable
the terminate button in this view (and thus the key binding).

In 3.1 however, there is no selection made, so the terminate button is not
enabled (since there is no context of what you want to terminate) and thus
the key binding won't work. You would need to open this view and make a
selection first, THEN the key binding works as you would expect, which is
not much of a shortcut now is it...

Note also if you have the console view open, this DOES switch to the last
run application and it also has its own terminate button, which is enabled
as soon as you run your project. Unfortunately the context of the key
binding seems to be to the terminate in the debug view, not the console
view so this doesn't help in any way that I can tell...

Any ideas?

Kidd_Funk

-----------------------------

(On a side note, does anyone know how to be notified of replies to posts
in this forum? I don't receive any notification, requiring me to check
back periodically to see if anyone has answered my question.)
Re: Key binding for terminate - works 3.0, not 3.1 [message #286106 is a reply to message #286101] Thu, 02 June 2005 12:12 Go to previous messageGo to next message
Eclipse UserFriend
Submit a bug with exactly what you explained, or create you own command and
keybinding plugin. ;-)

"Kidd_Funk" <jhampe@enterasys.com> wrote in message
news:ada5aff76aaa6855e591e5051bdb6982$1@www.eclipse.org...
>
> It's not that the key binding itself is broken, just the behavior of the
> debug view that has changed, effectively breaking terminate.
>
> To see what I mean:
>
> With a project set up to run, first have the debug view open.
> Run the application in your project.
>
> You will see in the debug view:
>
> - <Project> [Java Application]
> -<path>/j2re1.4.2/bin/javaw.exe(Date started)
>
>
> This is the issue- in 3.0 and earlier, the javaw.exe line if the last run
> application would AUTOMATICALLY get selected. This in turn would enable
> the terminate button in this view (and thus the key binding).
>
> In 3.1 however, there is no selection made, so the terminate button is not
> enabled (since there is no context of what you want to terminate) and thus
> the key binding won't work. You would need to open this view and make a
> selection first, THEN the key binding works as you would expect, which is
> not much of a shortcut now is it...
>
> Note also if you have the console view open, this DOES switch to the last
> run application and it also has its own terminate button, which is enabled
> as soon as you run your project. Unfortunately the context of the key
> binding seems to be to the terminate in the debug view, not the console
> view so this doesn't help in any way that I can tell...
>
> Any ideas?
>
> Kidd_Funk
>
> -----------------------------
>
> (On a side note, does anyone know how to be notified of replies to posts
> in this forum? I don't receive any notification, requiring me to check
> back periodically to see if anyone has answered my question.)
>
Re: Key binding for terminate - works 3.0, not 3.1 [message #286114 is a reply to message #286101] Thu, 02 June 2005 13:49 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse.rizzoweb.com

Kidd_Funk wrote:
> (On a side note, does anyone know how to be notified of replies to posts
> in this forum? I don't receive any notification, requiring me to check
> back periodically to see if anyone has answered my question.)

That is just the way newsgroups work. This is not a push-model forum
(eg, mailing list), it is a pull-model.


Eric
Previous Topic:3.1RC1 pde build failing
Next Topic:Invalid Thread Access
Goto Forum:
  


Current Time: Wed Jul 23 12:02:17 EDT 2025

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

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

Back to the top