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 39393

Summary: Support popup documentation for XML grammar providers
Product: xml Reporter: Jesse Glick <jglick>
Component: Text-EditAssignee: issues@xml <issues>
Status: NEW ---    
Severity: blocker CC: issues
Priority: P2 Keywords: API
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Jesse Glick 2004-01-29 22:38:16 UTC
I would love to provide the equivalent of popup
Javadoc for Ant code completion. I.e. if you are
writing

<chmod file="foo.sh" perm="

and forget whether the 'perm' attribute takes
octal numbers, "a+x" syntax, or both, invoking
code completion would show you the correct section
from the chmod.html page in the Ant manual, for
instant reference.

Unfortunately it seems that there is no popup
documentation support available to GrammarQuery
implementors. I think there should be.
GrammarResult, for example, could have an added
method like

String getPopupDocumentationHtml();

which would be displayed like Javadoc is now for
Java code completion.

AFAIK the editor's pseudo-APIs make this possible;
the support is only missing from the xml/text-edit
module.