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.
Development build #200505311800 of NetBeans 4.2 Windows XP, JDK 1.5.0_03 build #06 Description: ============ Auto-indenting does not work when cursor is between opening tag and some text and Enter is pressed. Steps to reproduce: =================== 1. Create new sample web application project and new XML underneath. 2. Type abcd after <root> at line 11 and press CTRL + Arrow Left. 3. Now you have <root>|abcd where | denotes cursor. Press Enter. 4. abcd is not indented and begins at 12:1.
This has never worked even in HTML or JSPs. To be frank I consider this issue as a minor issue -> downgrading to P4.
A several weeks before the indentation has been changed so it doesn't indent text after unknow tags. Please use for example following code to reproduce <table>|text </table>
fixed. IDE: [1/12/06 11:06 AM] Committing "XMLFormatter.java" started Checking in XMLFormatter.java; /cvs/xml/text-edit/src/org/netbeans/modules/xml/text/indent/XMLFormatter.java,v <-- XMLFormatter.java new revision: 1.24; previous revision: 1.23 IDE: [1/12/06 10:08 AM] Committing "HTMLFormatter.java" started Checking in HTMLFormatter.java; /cvs/html/editor/lib/src/org/netbeans/editor/ext/html/HTMLFormatter.java,v <-- HTMLFormatter.java new revision: 1.21; previous revision: 1.20
I am sorry but this does not seem to be fixed in neither NetBeans 5.0 FCS build nor NetBeans 5.5 preview build #200602170300. Reopening ... Besides, next time please don't forget to set "Target Milestone" accordingly.
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. We apologize for any inconvenience. Thank you. The NetBeans Team