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 125812 - Incorrect indetation of scriptlets on Format
Summary: Incorrect indetation of scriptlets on Format
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Tomasz Slota
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-23 03:24 UTC by shche123
Modified: 2009-12-21 06:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description shche123 2008-01-23 03:24:15 UTC
When executing format, and 
when the scriptlet tag is by itself on one line and the secriptlet begins on the next line, the scriptlet code is not 
indeted property:
====================
            <tbody>
                
                <%
            Customer[] customers =
==================


Indentation should be:

====================
            <tbody>
                
                <%
                Customer[] customers =
==================

Works correctly when the tag is on the same line as the beginning of the scriptlet code:
====================
            <tbody>
                
                <% Customer[] customers =
==================
Comment 1 shche123 2008-01-23 03:40:48 UTC
one more example:
========================
            </thead>
            <tbody>
                <%
            Customer[] customers = (Customer[]) request.getAttribute("customers");
            for (int i = 0; i < customers.length; i++) {
                %>         
                <tr>
Comment 2 Jana Maleckova 2008-02-07 14:09:47 UTC
reassign to jsp editor for evaluation
Comment 3 Quality Engineering 2009-12-21 06:52:36 UTC
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