Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 370510

Summary: Preference to put '+' in front of line during spliting string by Enter
Product: [Eclipse Project] JDT Reporter: Roman Ivanov <ivanov-jr>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3 CC: daniel_megert
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Roman Ivanov CLA 2012-02-02 18:37:56 EST
Build Identifier: Version: Helios Service Release 2; Build id: 20110218-0911

to split long string into two the eaisest way is to press key Enter in requered position.

String s = "qqqqqqqqqqqqqqqqqqqqqwwwwwwwwwwwwwwwwweeeeeeeeeeeeeeeee";

Detected:
String s = "qqqqqqqqqqqqqqqqqqqqq" +
           "wwwwwwwwwwwwwwwwweeeeeeeeeeeeeeeee";

It will be very nice to specify position of "+" sign for split operation. Default value could be existing behavior.

Expected:
String s = "qqqqqqqqqqqqqqqqqqqqq"
           + "wwwwwwwwwwwwwwwwweeeeeeeeeeeeeeeee";


Reproducible: Always
Comment 1 Roman Ivanov CLA 2012-02-02 18:39:37 EST
Small discussion was here: http://stackoverflow.com/questions/257251/eclipse-shortcut-to-split-long-strings
Comment 2 Dani Megert CLA 2012-02-03 02:50:20 EST

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