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 194420 - Show JavaDoc in javadoc window on caret change
Summary: Show JavaDoc in javadoc window on caret change
Status: NEW
Alias: None
Product: groovy
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.0
Hardware: PC Windows XP
: P3 normal with 2 votes (vote)
Assignee: Martin Janicek
: 225730 (view as bug list)
Depends on:
Reported: 2011-01-17 16:58 UTC by akochnev
Modified: 2013-02-06 16:09 UTC (History)
1 user (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description akochnev 2011-01-17 16:58:29 UTC
Based on a discussion from the forum  it looks like the Groovy editor doesn't support this yet: 

Posted: Wed Dec 22, 2010 1:24 am    Post subject: Displaying JavaDoc in javadoc window for Groovy	   
I'm currently working on a an Ant based project that contains Groovy code and I would like to display the Javadocs for the said groovy code in the standard Javadoc window. 

First, I thought I just need to provide an implementation of the JavadocForBinaryQueryImplementation - I used ExtraProjectJavadocForBinaryQueryImpl and set up the relevant properties so that the implementation returns the root of the javadocs generated from the groovy code. When the findJavadoc method is called it successfully finds and returns the result with the directory that I set up in the properties file. 

However, when I'm in Groovy code, when I click on a class or an identifier, it doesn't show up. If I open up a Java class in the same project, the Javadoc properly shows up in Javadoc window. I notice that there some kind of CaretListener that triggers that in the Java code that doesn't happen in Groovy. 

Preferably, I'd like to use the existing infrastructure and just wire up my groovy test cases to it so that it shows the javadoc (which I thought I was doing by providing the JavadocForinaryQueryImplementation). The alternative seems to be to just have a separate Top component that displays the Javadoc pages for the classes I hover on.
Comment 1 Martin Janicek 2013-02-06 16:09:45 UTC
*** Bug 225730 has been marked as a duplicate of this bug. ***