Bug 7517 - No control of formatting fo do {} while blocks
Summary: No control of formatting fo do {} while blocks
Status: CLOSED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.1 M1   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-12 17:32 EST by Michael Fraenkel CLA
Modified: 2002-09-10 08:51 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 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.