Bug 118648 - Add hyperlink for @inheritDoc
Summary: Add hyperlink for @inheritDoc
Status: RESOLVED DUPLICATE of bug 171019
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows 2000
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-30 10:48 EST by John Arthorne CLA
Modified: 2008-07-03 03:17 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 John Arthorne CLA 2005-11-30 10:48:54 EST
I20051129

The {@inheritDoc} link is used in javadoc to specify that the super method's javadoc should be copied down.  It would be useful for hyperlink navigation to account for this, with Ctrl+Click on the @inheritDoc tag taking you to the super type method.
Comment 1 Dani Megert CLA 2005-12-02 02:58:04 EST
Do you really want to jump there? Wouldn't it be better if
- hovering over it would show the Javadoc directly
- hovering over the method would show the inherited Javadoc instead of just the
  signature?

Note that you can jump to the super member by clicking on the triangle in the vertical ruler.

*** This bug has been marked as a duplicate of 24227 ***
Comment 2 John Arthorne CLA 2005-12-02 09:53:21 EST
I have hovers turned off because I find them annoying (although adding a hover for @inheritDoc makes sense for people who want it).  I frequently Ctrl+click on javadoc tags like {@link IResource} when browsing through code, so this seemed to be a natural thing to do as well with the {@inheritDoc} tag.  

I didn't know about clicking on the triangle, but it doesn't work very well because I have "Expand vertical ruler icons on hover" enabled.  If I immediately click on the triangle it does nothing. I have to hover on the triangle until the slide-out appears, then move to the triangle and click.

There are too many combinations of editor options ;)
Comment 3 Markus Keller CLA 2008-07-02 14:15:46 EDT
For hyperlinking and Open Declaration on {@inheritDoc}, see bug 171019.
Comment 4 Dani Megert CLA 2008-07-03 03:17:10 EDT

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