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 183185 - Separating String over 2 lines
Summary: Separating String over 2 lines
Status: RESOLVED DUPLICATE of bug 177010
Alias: None
Product: editor
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 6.x
Hardware: PC Windows 7 x64
: P3 normal with 1 vote (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-30 13:05 UTC by harryshepard
Modified: 2010-11-01 14:32 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 harryshepard 2010-03-30 13:05:46 UTC
This was working in 6.7 but no longer works the same way in 6.8.

When doing format code (ctrl+shift+f) it used to do this:

String s = "abc" + 
    "xyz";


but it now does this: 

String s = "abc" 
    + "xyz";


Either the + should be at the end of a line like it always has been (rather than the start of the new line), or there should be the option to choose start or end for string concatenation character.

If these doesn't make sense then I will be happy to provide a screenshot. Currently I am unable to run the format code because it will not be consistent across my files.
Comment 1 Dusan Balek 2010-11-01 14:32:12 UTC
Already fixed.

*** This bug has been marked as a duplicate of bug 177010 ***