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

Summary: Show JavaDoc in javadoc window on caret change
Product: groovy Reporter: akochnev <akochnev>
Component: EditorAssignee: Martin Janicek <mjanicek>
Status: NEW ---    
Severity: normal CC: eddelplus
Priority: P3    
Version: 7.0   
Hardware: PC   
OS: Windows XP   
URL: http://forums.netbeans.org/viewtopic.php?t=34578&start=0&postdays=0&postorder=asc&highlight=displaying+javadoc
Issue Type: ENHANCEMENT Exception Reporter:

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. ***