Bug 535475 - [hovering] Hovering on "return" should show the content of the related JavaDoc element
Summary: [hovering] Hovering on "return" should show the content of the related JavaDo...
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 4.5   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-02 04:54 EDT by Mickael Istria CLA
Modified: 2018-06-02 09:15 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mickael Istria CLA 2018-06-02 04:54:08 EDT
As a Java developer, when I'm reading a long method and seeing a return, it can happen that I'm not sure what this method expects to be returned. The only way to know that is to get the javadoc by scrolling-up and hovering on method name, or faking a content assist to find the current method and get the documentation.

I suggest JDT could mimic the behavior of what it does for parameters (ie hover contains javadoc for parameter), but apply it on the return keyword.