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 - Support popup documentation for XML grammar providers
Summary: Support popup documentation for XML grammar providers
Status: NEW
Alias: None
Product: xml
Classification: Unclassified
Component: Text-Edit (show other bugs)
Version: 3.x
Hardware: All All
: P2 blocker with 1 vote (vote)
Assignee: issues@xml
URL:
Keywords: API
Depends on:
Blocks:
 
Reported: 2004-01-29 22:38 UTC by Jesse Glick
Modified: 2007-09-25 01:33 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.