Bug 105570 - "Maximum line width" setting on "Line Wrapping" tab of Code Formatter is ignored
Summary: "Maximum line width" setting on "Line Wrapping" tab of Code Formatter is ignored
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 RC4   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2005-07-29 09:41 EDT by Frank McGrath CLA
Modified: 2007-06-22 12:51 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.