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 55097

Summary: XML Formatting/Pretty Print Needed
Product: xml Reporter: asleson <asleson>
Component: CodeAssignee: issues@xml <issues>
Status: VERIFIED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 4.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: ENHANCEMENT Exception Reporter:

Description asleson 2005-02-16 21:30:28 UTC
NetBeans should have a "format code" option for
XML documents that pretty-prints the code for
easier reading.  Many XML documents that are
produced via XSLT are printed out on one big line,
without line breaks or indenting or anything.  

Others IDEs already do this out-of-the-box (namely
IDEA) so now that NetBeans supports J2EE
development, XML formatting is necessary.
Comment 1 asleson 2005-02-16 21:32:06 UTC
Also, the editor should hightlight a closing tag's opening tag and
vice-versa, much like it does with JSP files.

Comment 2 zikmund 2005-02-17 12:16:24 UTC
Reformating code is duplicate of issue 22510.

Tag matching part is duplicate of issue 30234.

*** This issue has been marked as a duplicate of 22510 ***
Comment 3 Mikhail Matveev 2007-11-09 14:47:20 UTC
Verified duplicate