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 15566

Summary: Autoformat JSP files
Product: javaee Reporter: _ gtzabari <gtzabari>
Component: JSPAssignee: Marek Fukala <mfukala>
Status: RESOLVED FIXED    
Severity: blocker CC: pjiricka, vnicolici
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on: 12935    
Bug Blocks:    

Description _ gtzabari 2001-09-17 19:23:10 UTC
We should be able to auto-format JSP files, formatting both HTML and Java 
code using conventional code-formatting methods.
Comment 1 Jan Zajicek 2001-09-18 10:45:04 UTC
moving to web module
Comment 2 _ rkubacki 2001-09-18 12:14:37 UTC
Depends on indentation. This will be redesigned to use new lexer module.
Comment 3 Jan Chalupa 2001-11-27 17:37:07 UTC
Target milestone -> 3.3.1.
Comment 4 _ rkubacki 2002-04-26 07:42:42 UTC
*** Issue 18752 has been marked as a duplicate of this issue. ***
Comment 5 _ rkubacki 2002-04-26 07:49:18 UTC
*** Issue 7900 has been marked as a duplicate of this issue. ***
Comment 6 jhoffman 2002-05-03 23:32:07 UTC
We think this is a dup of 12935 which has a more detailed description.
Comment 7 Marek Grummich 2002-07-22 12:03:00 UTC
Set target milestone to TBD
Comment 8 Marek Grummich 2002-07-22 12:07:25 UTC
Set target milestone to TBD
Comment 9 _ rkubacki 2002-10-09 13:18:40 UTC
*** Issue 27869 has been marked as a duplicate of this issue. ***
Comment 10 _ rkubacki 2002-11-11 07:33:09 UTC
*** Issue 28619 has been marked as a duplicate of this issue. ***
Comment 11 Petr Pisl 2004-09-22 12:37:39 UTC
There is implemented a basic reformat of html and jsp files in NB 4.0.
It can be still improved. For example inserting text after open tags
in the new line, moving a close tag in the new line , when is text in
the same line ...
Comment 12 Petr Jiricka 2005-06-14 15:14:25 UTC
Reassigning to Marek.
Comment 13 Marek Fukala 2005-06-16 10:20:09 UTC
The JSP/HTML/XML indentation engines have been improved - tags and text
indentation is now smarter (Issue #37007). There has also been implemented a
"smart enter" feature (Issue #57670) and end tags autocompletion (Issue #57669)