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.
End tags are not indented after closing the tag by typing ending > character. To reproduce: 1) create an empty html file 2) type <h1> 3) press enter => the cursor correctly jumps to <h1> level + one indent 4) type </h1 5) type > => the </h1> stays on its position but should be indented to the opening tag level. Please fix this, it is quite annoying regression.
confirmed, reproducible
*** Issue 120488 has been marked as a duplicate of this issue. ***
Fixed for HTML tags (pending fix for JSP-specific tags) Checking in HTMLCompletionQuery.java; /cvs/html/editor/lib/src/org/netbeans/editor/ext/html/HTMLCompletionQuery.java,v <-- HTMLCompletionQuery.java new revision: 1.45; previous revision: 1.44
Marek volunteered to finish fixing this bug, it should be easy for him as it is actually in the CC area...
fixed the JSP end tag completion reformatting. But Tome, haven't you forget to commit the reformat hook at the DefaultKeyTypedAction? From the commit you just changed the HTMLCompletionQuery, nothing else. I can also still reproduce the original problem - the only think which works now is that the line is reformatted if user completes html or jsp end tag. If the tag is put manually it needs to be properly indented after typing the closing '>' character - read my steps to reproduce. I am not closing, reassigning back to you, please fix the remaining problem, thanks. Checking in JspCompletionItem.java; /cvs/web/jspsyntax/src/org/netbeans/modules/web/core/syntax/completion/JspCompletionItem.java,v <-- JspCompletionItem.java new revision: 1.18; previous revision: 1.17 done
Fix completed. Checking in web/jspsyntax/src/org/netbeans/modules/web/core/syntax/JSPKit.java; /cvs/web/jspsyntax/src/org/netbeans/modules/web/core/syntax/JSPKit.java,v <-- JSPKit.java new revision: 1.55; previous revision: 1.54 done Checking in html/editor/src/org/netbeans/modules/editor/html/HTMLKit.java; /cvs/html/editor/src/org/netbeans/modules/editor/html/HTMLKit.java,v <-- HTMLKit.java new revision: 1.32; previous revision: 1.31 done Checking in xml/tageditorsupport/src/org/netbeans/modules/editor/structure/formatting/TagBasedLexerFormatter.java; /cvs/xml/tageditorsupport/src/org/netbeans/modules/editor/structure/formatting/TagBasedLexerFormatter.java,v <-- TagBasedLexerFormatter.java new revision: 1.37; previous revision: 1.36 done