Bug 124792 - Formatter not working properly
Summary: Formatter not working properly
Status: RESOLVED DUPLICATE of bug 71766
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL: http://www.azew.com
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-21 20:01 EST by fx CLA
Modified: 2006-01-25 09:56 EST (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 fx CLA 2006-01-21 20:01:41 EST
In Window -> Preferences -> Java -> Code Style -> Formatter -> Edit -> Line Wrapping, I configed the "Max line width" to 80.

But after I formatted the code, there is one line that is longer than 80:

    private final Vector<ISelectionChangedListener> selectionListeners = new Vector<ISelectionChangedListener>();
Comment 1 Dani Megert CLA 2006-01-23 03:24:51 EST
Which build id? Please always include the build id with each bug report.
Comment 2 Olivier Thomann CLA 2006-01-23 09:27:27 EST
In 3.1 this is an issue. Please try with 3.2. It should wrap on the '=' sign.
This won't be backported to 3.1.x.
Comment 3 fx CLA 2006-01-23 20:39:04 EST
My eclipse
Eclipse SDK

Version: 3.1.1
Build id: M20050929-0840
Comment 4 Olivier Thomann CLA 2006-01-25 09:56:45 EST

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