Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 331933

Summary: [Hover, Cosmetics] Wrong hint "Press F2 for focus"
Product: [Modeling] TMF Reporter: Sebastian Zarnekow <sebastian.zarnekow>
Component: Xtext BacklogAssignee: Project Inbox <tmf.xtext-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: christophkulla, Holger.Schill, karsten.thoms
Version: 2.0.0Keywords: helpwanted, triaged
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Sebastian Zarnekow CLA 2010-12-06 13:35:19 EST
When used on a completion proposal, the hover statusline says "Press F2 for focus" which does not work. The JDT suggests "Tab from proposal list or click to focus".
Comment 1 Sebastian Zarnekow CLA 2010-12-06 13:35:48 EST
Tab works quite well in this case.
Comment 2 Christoph Kulla CLA 2010-12-07 14:06:34 EST
Atm the identical hover is used in the text editor and in the completion proposal. The keybinding in the text editor is F2 to give focus to the hover and therefore it is always displaying F2 in the status line. To change this behaviour the hover needs some information of the context to display the correct message.  In Jdt there are different hover implementations for completion proposal and the text editor with different messages in the status line. You may also have noticed that the Jdt is omitting the class name at the beginning of the hover in content assist. Unfortunalty this content assist hover is not easy to reuse outside the Jdt.

Maybe it make sense to create different bindings for completion proposal and for text hovering.
Comment 3 Holger Schill CLA 2016-09-20 07:50:54 EDT
This was fixed long time ago.