Bug 20907 - Formatter indents incorrectly
Summary: Formatter indents incorrectly
Status: RESOLVED DUPLICATE of bug 20721
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   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-24 14:15 EDT by Dan Rubel CLA
Modified: 2002-07-30 14:10 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 Dan Rubel CLA 2002-06-24 14:15:47 EDT
The formatter generates the following indentation inside a method body.  IMO 
the comment and the code following it should be at the same indentation level 
rather than two different indentation levels as shown below.

	public void myMethod() {
		Thread thread = new Thread("my thread") {
			public void run() {

					// Ensure that the shell is open 
before execution
	foo("my string");
			}
		};
	}
Comment 1 Philipe Mulet CLA 2002-06-25 11:20:55 EDT
Will reconsider post 2.0
Comment 2 Philipe Mulet CLA 2002-07-25 06:30:33 EDT
Resurrecting formatter issues in 2.1 stream.
Comment 3 Philipe Mulet CLA 2002-07-25 06:32:30 EDT
Clearing resolution
Comment 4 Olivier Thomann CLA 2002-07-30 14:10:44 EDT

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