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 79416 - "Javadoc style" code folding options for XSL files
Summary: "Javadoc style" code folding options for XSL files
Status: NEW
Alias: None
Product: xml
Classification: Unclassified
Component: XSL (show other bugs)
Version: 5.x
Hardware: PC All
: P3 blocker (vote)
Assignee: issues@xml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-29 12:03 UTC by ats37
Modified: 2007-09-25 01:34 UTC (History)
0 users

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 ats37 2006-06-29 12:03:35 UTC
I'm using RDF namespace top level elements to document my XSL files, as
described at http://www-128.ibm.com/developerworks/xml/library/x-tipxrdf.html
It would be useful if the editor had some RMB-popup options for
collapsing/expanding all such RDF elements and/or all other top level elements,
analagous to the various "Code Folds" options in the java source editor
("Collapse/Expand All Javadoc", "Collapse/Expand All Java Code", etc.)

I appreciate this requirement may be of limited use, since using RDF to do the
documentation in this way may not be that common.  On the other hand, I'd
imagine it's quite common for people to include documentation in comment nodes
by each of their templates e.g.

<xsl:stylesheet ...
<!-- Output root node and namespace declarations -->
<xsl:template match="/">
   ...

so RMB menu options to collapse/expand all comments or all non-comments
immediately under the xsl:stylesheet element would be a useful addition.  If
there was also an Options setting for "Treat these element types as comments for
code folding", that would also cater for my particular needs.