Bug 20907

Summary: Formatter indents incorrectly
Product: [Eclipse Project] JDT Reporter: Dan Rubel <danrubel>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.1   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

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 ***