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.
[dev feb 22] Currently the NMW uses a 2-space indentation in the layer it created. 4-space is more standard. Also a space is placed before the /> ending an empty element, which is slightly nonstandard I think. If possible, use a code formatter for text/xml, but that is less important.
Target milestone was changed from '3.4' to TBD.
Reassign to Jesse, because I'm no longer in core team.
Problem lies in XMLUtil.write which currently defaults to using Crimson, it seems, and Crimson appears to be hardcoded with this behavior. Would prefer Xerces, I think. Probably an openide issue.
This method should prefer the Xerces DOM writer, which has a decent appearance, to the Crimson writer, which uses 2-space indentation and some other strange conventions and is much less configurable.
*** Issue 32339 has been marked as a duplicate of this issue. ***
Useful for New Module Wizard, Ant shortcut wizard, etc.
I think Petr owns this class.
Unscheduling from my todo list. New owner is gladly welcome. Meanwhile assigning to abstract issues@xml.netbeans.org owner.
Fixed a while back.