Community
Participate
Working Groups
Build ID: 3.5M6 Steps To Reproduce: 1. Set the preference Editors/Text Editors/Print Margin Column to 120 2. Create a source file including javadocs with the javadoc text longer than 120 chars 3. Choose menuitem Source -> Format I would expect that the reformatting would honour the width that I set in the preference when reformatting. But it clips it to 80 chars regardless. More information: Platform is MacOSX 10.5 with the standard SWT build (i.e. not the Cocoa build). I haven;t tried other builds or platforms but is probably generic.
There are specific formatter preferences for the max line width... Open a formatter preference page: Java > Code Style > Formatter, edit a new profile, go to the 'Line Wrapping' tab and change the 'Maximum line width' value. Note that there's also a specific value for comments on the 'Comments' tab of the profile. There, you need to change the 'Maximum line width for comments' value...
Verified for 3.5M7.