Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 370510 - Preference to put '+' in front of line during spliting string by Enter
Summary: Preference to put '+' in front of line during spliting string by Enter
Status: CLOSED DUPLICATE of bug 48433
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.7   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-02 18:37 EST by Roman Ivanov CLA
Modified: 2012-02-03 02:50 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***