Bug 63631 - Code formatter does not line wrap variable initialisers
Summary: Code formatter does not line wrap variable initialisers
Status: RESOLVED DUPLICATE of bug 71766
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-24 01:19 EDT by Grant Gardner CLA
Modified: 2005-10-19 15:13 EDT (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 Grant Gardner CLA 2004-05-24 01:19:10 EDT
We have a hard line wrap rule.. checkstyle rejects lines greater that 132
characters.


eg depending on maximum line length settings, the following...

private String _thisIsAVeryLongVariableName = "this is an equally long string"

should wrap something like

private String _thisIsAVeryLongVariableName =
  "this is an equally long string"

I believe this worked in M8, but now not working in M9
Comment 1 Olivier Thomann CLA 2004-05-24 12:57:25 EDT
We don't support this with the new formatter yet. This didn't work with M8.
It won't be fixed for 3.0. We will reconsider post 3.0.
Comment 2 K.C. Baltz CLA 2005-07-13 12:10:19 EDT
Will this be re-opened for 3.1+ ? 
Comment 3 Jason Bennett CLA 2005-10-18 21:08:01 EDT
Duplicate of bug 71766?
Comment 4 Olivier Thomann CLA 2005-10-19 15:12:34 EDT
Yes, dup of bug 71766.
Comment 5 Olivier Thomann CLA 2005-10-19 15:13:06 EDT

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