Bug 213700 - Eclipse Formatter needs to provide a mechanism to IGNORE line wrapping
Summary: Eclipse Formatter needs to provide a mechanism to IGNORE line wrapping
Status: VERIFIED DUPLICATE of bug 198074
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.3.1   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: 3.5 M4   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-21 10:45 EST by Patrick McCauley CLA
Modified: 2008-12-09 14:03 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick McCauley CLA 2007-12-21 10:45:54 EST
Build ID: M20070921-1145

Steps To Reproduce:
1. Write some code
2. Enter manual line breaks where logically appropriate (e.g. when writing a multi-conditioned "if" statement, certain criteria may be grouped on different lines.  For instance:

if( (a == b && b == c) &&
    (d == e) &&
    (f == g && h == i)

3. Format the text using the formatter such that the line breaks do not change.

Expected: My line breaks remain intact.

Actual: Eclipse has two settings: no wrapping which pulls the entire condition up to a single line, or wrap to a predefined global line width.  Neither of these options are acceptable.

There needs to be an option to IGNORE line wrapping such that Eclipse neither pulls everything up to one line or wraps to a completely meaningless line width.


More information:
Comment 1 Markus Keller CLA 2008-02-27 08:43:08 EST

*** This bug has been marked as a duplicate of bug 198074 ***
Comment 2 Frederic Fusier CLA 2008-12-03 07:23:08 EST
Reopen to assign...
Comment 3 Frederic Fusier CLA 2008-12-03 07:23:31 EST

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