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 154279 - Alignment of Java method arguments broken
Summary: Alignment of Java method arguments broken
Status: RESOLVED DUPLICATE of bug 150235
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-01 16:40 UTC by zdro
Modified: 2009-02-06 17:31 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 zdro 2008-12-01 16:40:31 UTC
The alignment feature of the Java editor appears to have been broken in the new 6.5 release.  Here is code formatted in
6.1 vs. 6.5, using the same configuration options:

NB 6.1:
    System.out.println( o.toString().replaceFirst( "pattern", 
                                                   "replacement" ) );

    System.out.println( "This is a line of text that " +
                        "will be printed." );

NB 6.5:
    System.out.println( o.toString().replaceFirst( "pattern",
            "replacement" ) );

    System.out.println( "This is a line of text that " +
            "will be printed." );


This is a regression, so I assumed it should be a high priority.  Also, I've been using the alignment feature for a long
time, so anything I write now will be inconsistent with a LOT of code.
Comment 1 Jiri Prox 2008-12-01 17:13:19 UTC
This should be fixed in patch 1. Thanks for your report anyway

*** This issue has been marked as a duplicate of 150235 ***
Comment 2 zdro 2008-12-01 18:17:30 UTC
Oops.  Missed that in my search.  Sorry about that....  Glad to see it has been addressed.
Comment 3 zdro 2009-02-06 17:31:19 UTC
Sorry to ask this through a defect, but I'm not sure where else to ask.  Are there plans for a maintenance release of
6.5?  I don't think I'll be able to convince my team to use a development build.

Thanks-