Bug 105570

Summary: "Maximum line width" setting on "Line Wrapping" tab of Code Formatter is ignored
Product: [Eclipse Project] JDT Reporter: Frank McGrath <fmcgrath>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 Keywords: needinfo
Version: 3.0.2   
Target Milestone: 3.3 RC4   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Frank McGrath CLA 2005-07-29 09:41:13 EDT
It appears to ignore the setting and use 80 regardless of the setting.  It did 
leave one line of length 81 unwrapped. I tried settings of 100 and 120, and 
tried both long comments and long expressions; I always got wrapped at around 
80.
Comment 1 Dirk Baeumer CLA 2005-07-29 09:45:16 EDT
Martin, can you please check if this is still a problem in 3.1.
Comment 2 Martin Aeschlimann CLA 2005-07-29 09:51:04 EDT
Olivier is the expert...
Comment 3 Martin Aeschlimann CLA 2005-07-29 09:55:06 EDT
It also seems to me that the maximum line width is not enforced everywhere. E.g.
Open CopyToClipboardAction.java from the org.eclipse.search plugin and format it
with line width 60. Several lines stay very long but could be broken e.g. on dots.
Comment 4 Olivier Thomann CLA 2005-08-01 18:10:29 EDT
Could you please provide an example where the maximum length is always
considered to be 80?
Comment 5 Olivier Thomann CLA 2007-06-21 12:24:33 EDT
Closing as WORKSFORME.
Requested information was never provided.