Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 69585 - [format] Code formatter doesn't include brackets in maximum line width
Summary: [format] Code formatter doesn't include brackets in maximum line width
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-08 06:46 EDT by Berno Langer CLA
Modified: 2009-08-30 02:19 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 Berno Langer CLA 2004-07-08 06:46:14 EDT
The built in code formatters (or any other) in Eclipse 3.0 don't include the 
brackets at the end of the line when they calculate the length of a line. 
 
Example: 
 
0        1         2         3 
1234567890123456789012345678901234 
class Example extends OtherClass { 
} 
 
When the maximum line width is set to 34 the line isn't wrapped as expected. 
 
But with a width of 33 the line isn't wrapped also. 
 
A with of 32 wraps the line correctly.
Comment 1 Philipe Mulet CLA 2005-04-07 09:44:30 EDT
Deferring post 3.1
Comment 2 Denis Roy CLA 2009-08-30 02:19:30 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.