Bug 45037 - [formatter] New formatter doesn't insert a new line before the while in a do/while
Summary: [formatter] New formatter doesn't insert a new line before the while in a do/...
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.0 M5   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-16 14:43 EDT by Olivier Thomann CLA
Modified: 2003-11-19 12:49 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Thomann CLA 2003-10-16 14:43:39 EDT
Using M4, the new formatter doesn't insert a new line before the while in a
do/while statement even if the option "Insert new line in control statement" is
selected.
This is a regression compare to the old formatter.
Comment 1 Olivier Thomann CLA 2003-10-16 14:44:02 EDT
Fixed and released in HEAD.
Regression test added.
Comment 2 David Audel CLA 2003-11-19 12:49:17 EST
Verified.