Bug 7517

Summary: No control of formatting fo do {} while blocks
Product: [Eclipse Project] JDT Reporter: Michael Fraenkel <fraenkel>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.1 M1   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Michael Fraenkel CLA 2002-01-12 17:32:20 EST
To my dismay, do/while blocks are not being formatted to my liking.  I have 
not been able to figure out how to control the behavior.
What I am seeing is the following:
do {
}
while();

rather than my prefered way
do {
} while();
Comment 1 Philipe Mulet CLA 2002-01-14 07:37:28 EST
Currently there is no such mechanism. Post 2.0 we will reconsider formatter 
implementation.
Comment 2 Philipe Mulet CLA 2002-07-25 06:30:44 EDT
Resurrecting formatter issues in 2.1 stream.
Comment 3 Philipe Mulet CLA 2002-07-25 06:32:35 EDT
Clearing resolution
Comment 4 Olivier Thomann CLA 2002-07-29 11:08:49 EDT
If you don't check the option "Insert new lines in control statements" then a
do/while is formatted as you expected.
Ok to close?
Comment 5 Michael Fraenkel CLA 2002-07-30 17:47:50 EDT
This must have changed over time because my default is to have this disabled 
and it wasn't affecting the formatting like it is now.  So you can close this.
Comment 6 Olivier Thomann CLA 2002-07-31 08:26:53 EDT
Closed.
Comment 7 Olivier Thomann CLA 2002-07-31 08:27:05 EDT
Closed.