Community
Participate
Working Groups
Currently, setting the "maximum line length" to 0 (in the Java > Code Formatter > Line Splitting preferences) causes the formatter to unwrap all lines when formatting. I would like an option to have the formatter leave the current wrapping intact.
We need to clear 2.1 bug reports that won't be addressed before 2.1. The new implementation is still in progress. Therefore we cannot include it for 2.1. Not enough testing and we need to polish the preferences. This will be address for 2.2 as stated in the JDT/Core plan.
Changed milestone.
Resurrecting for 3.0
Reopen for 3.0 consideration.
This is addressed in the new formatter by specifying no alignment. Fixed and released in HEAD. Regression test added.
Verified.
Would like to be able to use this feature, but I don't understand the comment. "No alignment"? Where is that set? I want to be able to leave the existing line wrapping in place - neither split nor join existing lines. More to the point, what I'd really like is the option to tell Eclipse that I want it to split lines, according to the pre-specified rules, as necessary, but not to join them. That way I could 'correct' its choices as I see fit as long as I ensure that I don't go beyond the wrapping threshold.