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 49761

Summary: long line wrapping
Product: editor Reporter: trenta <trenta>
Component: Formatting & IndentationAssignee: issues@editor <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 4.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description trenta 2004-09-30 20:16:28 UTC
Whether this is a bug is debatable.  But, it's
really annoying.  I've been wanting it to be fixed
for a very long time, but have never reported it.

Let's say I have the following line of java code...
dbFirstName.toUpperCase().trim
().equals(firstname.toUpperCase().trim ())

Well, if it's too long, I want to make it wrap to
the next line by hitting enter.

The editor does this...
dbFirstName.toUpperCase().trim ().equals(
firstname.toUpperCase().trim ())

But it should do this...
dbFirstName.toUpperCase().trim ().equals(
    firstname.toUpperCase().trim ())

The indentation level should be selectable in the
indentation engine I would think.  Should this
wait until after 4.0 release?
Comment 1 Dusan Balek 2004-10-01 08:33:29 UTC

*** This issue has been marked as a duplicate of 6065 ***