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.
Summary: | Right-click and select view Javadoc on a type, nothing happens | ||
---|---|---|---|
Product: | java | Reporter: | dwuysan <dwuysan> |
Component: | Javadoc | Assignee: | Jan Becicka <jbecicka> |
Status: | RESOLVED INVALID | ||
Severity: | normal | Keywords: | USABILITY |
Priority: | P3 | ||
Version: | 7.1 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
dwuysan
2011-12-06 05:17:37 UTC
Is there javadoc available for the selected element? Where it does come from? From project, library or is it JDK class? Thanks 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. 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. 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? 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. |