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

Bug 147045

Summary: Tooltips show warnings but no API docs
Product: [Eclipse Project] JDT Reporter: Carsten Pfeiffer <carsten.pfeiffer>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3    
Version: 3.2   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
Whiteboard:

Description Carsten Pfeiffer CLA 2006-06-14 09:29:54 EDT
Hovering over e.g. a messagesend in the Java editor usually shows a tooltip with the method's API docs. Pressing F2 shows the API doc in an "extended tooltip"

If there is a warning though, e.g. discouraged access, non-parameterized usage of containers, etc., the tooltop will show the warning instead of the API docs.

It would be nice if it would be possible to show the API docs in that case as well, e.g. by repeatedly pressing F2.

Pressing F2 once would display the warning message, pressing F2 again would show the API docs. The next F2 press would again show the warning.

This would feel similar to the quick type hierarchy (Ctrl+T), where repeated keypresses toggle showing the super- or subtype hierarchy, or the quick outline (Ctrl+O) toggling only local members or also inherited members.
Comment 1 Dani Megert CLA 2006-06-15 06:50:11 EDT

*** This bug has been marked as a duplicate of 85914 ***