views:

331

answers:

1

How do I define a custom key binding in eclipse?

I have to admit, for a FREE PRODUCT, Eclipse really delivers. However, sometimes I have to scratch my head about certain missing features...

Eclipse has over ELEVEN HUNDRED different key bindings.

alt text

I would like to use one of those KeyBindings to add a "Watch" Expression to the expressions window, while debugging.

alt text

Here is an additional screenshot showing that I already understand the "filter" process. I have set key-bindings for everything I could find pertaining to "Watch", but as you can see it doesn't show up in my right-click menu, and does not function when I use the defined keyboard shortcut.

alt text

Despite the prevailing opinion that this is "blatant whining", It is also a legitimate problem for me.

Please help.

+4  A: 

I just tried it and it works: In the given dialog I entered the word watch as the filter text. The list of key bindings was reduced to three elements. I chose watch and gave a new key binding and it worked.

EDIT:

Please try to unbind the other key bindings that occupy Ctrl+F7 or give Watch another unique key binding.

tangens
+1 for constructive feedback even in the face of blatant whining.
Jonathan Fingland
What is a "given" dialog. What "filter text" are you talking about?
Joshua
I assume "given" = "the dialog you showed", and "filter text" - well, chec the text boxes in your screenshot and you'll find it.
Bozho
You apparently click the filter button and a text box comes up allowing you to filter the list.
Arlen Beiler
Thank you for the clarification. Toggle Watchpoint doesn't have the expected functionality.
Joshua
Please refer to the added (third) image. Maybe this is only an issue in Eclipse for PHP?
Joshua