This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 205971 - Right-click and select view Javadoc on a type, nothing happens
Summary: Right-click and select view Javadoc on a type, nothing happens
Status: RESOLVED INVALID
Alias: None
Product: java
Classification: Unclassified
Component: Javadoc (show other bugs)
Version: 7.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Jan Becicka
URL:
Keywords: USABILITY
Depends on:
Blocks:
 
Reported: 2011-12-06 05:17 UTC by dwuysan
Modified: 2012-04-17 08:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dwuysan 2011-12-06 05:17:37 UTC
Product Version = NetBeans IDE 7.1 RC2 (Build 201111302200)
Operating System = Linux version 3.0.0-12-generic running on amd64
Java; VM; Vendor = 1.7.0_04-ea
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.0-b03

Right-click and select view Javadoc on a type, nothing happens
Comment 1 Jiri Prox 2011-12-06 10:54:29 UTC
Is there javadoc available for the selected element?
Where it does come from? From project, library or is it JDK class?

Thanks
Comment 2 dwuysan 2011-12-06 12:26:15 UTC
Yes, there is javadoc and it's from our internal project.

If I were to navigate to that class and click on Ctrl-Shift+F12, Javadoc window opened correctly.
Comment 3 Jiri Prox 2011-12-07 12:59:11 UTC
Did you build javadoc (action from project context menu) for project, where the element comes from?

The problem is that Show Javadoc action works only for javadoc which is available in html format, not for javadoc which is obtained by parsing the source files.
Comment 4 dwuysan 2011-12-07 22:35:34 UTC
No, I did not build the javadoc, so that could be the cause. I guess I was sort of expecting it like in Eclipse.

In that case, suppose I am in class X and one of the methods invokes another method in class Y, and that method has javadoc. What feature should I use to show the javadoc from class Y, while I am currently working on class X?
Comment 5 Jiri Prox 2011-12-09 12:34:21 UTC
You can use code completion - jut put cursor on selected element and press ctrl-space or ctrl-shitf-space to show only javadoc. Also you can open Javadoc window which will always display javadoc for element under caret. (Window -> Other -> Javadoc view)

If the element is from current class you can try hovering mouse in navigator window - it will display javadoc too.