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: | No documentation support for XML attribute or value completion | ||
---|---|---|---|
Product: | xml | Reporter: | _ rkubacki <rkubacki> |
Component: | Text-Edit | Assignee: | issues@xml <issues> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mfukala, pjiricka |
Priority: | P3 | ||
Version: | 7.0 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | patch against release69 repo |
Has there been any progress? Reivewed, the patch looks good, thanks for the contribution Radime. BTW, are you going to integrate to dev by yourself or should I do it? I can try to push it if you tell me what repository to use. http://hg.netbeans.org/main/ says it is a catch-all area. And if I still have commit rights (someone told that they were transferred from CVS repository but I've never tried). Or it would be simpler if you just do it. Thanks. fixed http://hg.netbeans.org/web-main/rev/e4acd54fe7c1 Do you need the fix in the 7.0.1 repository as well (it's a fixes minor release of 7.0)? Port to 7.0.1 would be awesome. I do not know what is the plan for next full release and this will make a difference for nbandroid users so the sooner they get it the better (current plugin version already passes the data). changeset: 199075:1ff1c2e18432 branch: release701 Integrated into 'main-golden', will be available in build *201105250400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/e4acd54fe7c1 User: Marek Fukala <mfukala@netbeans.org> Log: #198223 - No documentation support for XML attribute or value completion |
Created attachment 108033 [details] patch against release69 repo GrammarQuery implementation for XML documents can provide description for its results but those are only used to create documentation view when completion is shown for an (opening) element completion. They are ignored for other items like attribute names or values. It would be really great to pass information about attribute meaning or value to user in some cases. For example Android development uses XML files for application manifest or to define visual layouts. Quite easy to implement - see attached patch.