Bug 61511

Summary: Code Formatter: Leave existing line breaks alone feature missing
Product: [Eclipse Project] JDT Reporter: Kahro Raie <kahroo>
Component: CoreAssignee: Frederic Fusier <frederic_fusier>
Status: VERIFIED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3 CC: markus.kell.r, roland.tepp
Version: 3.0   
Target Milestone: 3.5 M4   
Hardware: All   
OS: All   
Whiteboard:

Description Kahro Raie CLA 2004-05-08 14:16:41 EDT
3.0M8

When working with CVS and many developers, it's difficult to use the code
formatter. Trouble is that eclipse processes existing line breaks (breaks
differently) and that makes conflict resolving difficult (not sure if there are
any changes). Also the other may not like if their code is broken at different
places (the indentation change is ok).

The same behaviour disturbes when I want to manually break a line at the
beginning but would like to leave the ending for eclipse (for comfort). In that
case my manual break is connected up again and the break is not so nice anymore.

I propose that the problem could be resolved as in IDEA and the linebreaks that
are allready in place will be left alone. The "keep excisting linebreaks"
feature could be controlled by a single checkbox in the formatter controls section.
Comment 1 Philipe Mulet CLA 2004-05-10 05:38:50 EDT
Will reconsider post 3.0
Comment 2 Markus Keller CLA 2008-08-13 10:59:10 EDT

*** This bug has been marked as a duplicate of bug 198074 ***
Comment 3 Frederic Fusier CLA 2008-12-03 07:19:03 EST
Reopen to assign...
Comment 4 Frederic Fusier CLA 2008-12-03 07:19:34 EST

*** This bug has been marked as a duplicate of bug 198074 ***
Comment 5 Kent Johnson CLA 2008-12-09 14:08:33 EST
Verified for 3.5M4 using I20081209-0100