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