Bug 408150 - KeyBindings - cannot bind F2
Summary: KeyBindings - cannot bind F2
Status: REOPENED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.3   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2013-05-15 12:12 EDT by Radu Toader CLA
Modified: 2020-02-08 14:44 EST (History)
2 users (show)

See Also:


Attachments
bindings page (89.02 KB, image/png)
2013-05-17 04:09 EDT, Radu Toader CLA
no flags Details
when hit f2 (74.06 KB, image/png)
2013-05-17 04:09 EDT, Radu Toader CLA
no flags Details
Eclipse key preferences - Build id: 20130606-0932 (16.28 KB, application/octet-stream)
2013-06-18 10:25 EDT, Radu Toader CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Radu Toader CLA 2013-05-15 12:12:05 EDT
I'm trying to bind F2 as content assist but, when I press F2 i got tooltip, even I disabled = unbind other commands that were set to F2 from keys(rename,show description).
Comment 1 Paul Webster CLA 2013-05-16 12:25:35 EDT
What exactly did you unbind F2 from?  What did you bind it to?

I can't reproduce this in 4.3.0.I20130515-2000, when I bind "Show Tooltip Description" in Editing Text from F2 to something else, F2 no longer does anything in Java editors.

PW
Comment 2 Radu Toader CLA 2013-05-16 15:15:48 EDT
I have eclipse kepler. I will tell you tomorrow the build id.
I have macos 10.8.3

1. Unbind F2. Sort by bindings. Go to F2 and hit unbind command.
2. Search content assist. Copy command bind F2.
Note: this happens also if you bind directly f2 to content assist without copy command.
If I sort by bindings I have 9nly content assist for F2.
Comment 3 Radu Toader CLA 2013-05-17 04:03:59 EDT
Eclipse Kepler build id : 20130509-1105
Comment 4 Radu Toader CLA 2013-05-17 04:09:34 EDT
Created attachment 231132 [details]
bindings page
Comment 5 Radu Toader CLA 2013-05-17 04:09:55 EDT
Created attachment 231133 [details]
when hit f2
Comment 6 Paul Webster CLA 2013-05-22 10:51:11 EDT
If I go to the Keys pref page and unbind F2 from show tooltip and go back to my editor, F2 does nothing.

If I then bind it to content assist (in the editing text context, not In Dialog And Windows) then it works.

Do you have a lot of customized keybindings?  Can you reset your keys preference page (it wipes out all user bindings)?


PW
Comment 7 Radu Toader CLA 2013-05-30 06:10:30 EDT
It works in eclipse kepler RC1 : build ID 20130523-2011
'Eclipse DSL TOols'
Comment 8 Paul Webster CLA 2013-05-30 06:42:29 EDT
Thanks for the follow up.

PW
Comment 9 Radu Toader CLA 2013-06-18 06:10:19 EDT
This bug is still happening in

 Kepler RC 3 
 Build id: 20130606-0932
Comment 10 Paul Webster CLA 2013-06-18 10:01:18 EDT
I can't reproduce this.  You'll have to answer the questions comment #6 as well as please attach your exported preferences from File>Export...>General>Preferences.

PW
Comment 11 Radu Toader CLA 2013-06-18 10:24:10 EDT
File>Export->Preferences 

Which ones  when I search for preferences I found:
General
   Preferences
Other
   Preferences
Comment 12 Radu Toader CLA 2013-06-18 10:25:49 EDT
Created attachment 232496 [details]
Eclipse key preferences - Build id: 20130606-0932
Comment 13 Radu Toader CLA 2013-06-18 10:26:42 EDT
I've tried binding F2 to content assist - Editing text - doesn't work
and neighter - Dialogs And Windows..
Comment 14 Paul Webster CLA 2013-06-20 11:01:40 EDT
It works fine on linux.  I've got ahold of a mac to try it on as well, but F2 effects the brightness of the screen.  How do I turn it into a normal key?

PW
Comment 15 Radu Toader CLA 2013-06-20 11:10:22 EDT
try FN + F2 /
or KeyRemap4MacBookPro
Comment 16 Pierre-Yves Bigourdan CLA 2020-02-08 14:44:23 EST
Wondering whether this could be the cause of Bug 538244? The F2 binding doesn't work on Windows or macOS when using LSP4E.