Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 369783

Summary: [formatter] Missing indentation after line comment
Product: [WebTools] JSDT Reporter: Victor Homyakov <vkhomyackov>
Component: GeneralAssignee: Project Inbox <jsdt.javascript-inbox>
Status: NEW --- QA Contact: Chris Jaun <cmjaun>
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Victor Homyakov CLA 2012-01-26 05:42:37 EST
Example

var Class2 = Class.create(Class1, // base class
		Mixin1, Mixin2, {
	method : function() {
		// empty
	}
});

after formatting looks like

var Class2 = Class.create(Class1, // base class
Mixin1, Mixin2, {
	method : function() {
		// empty
	}
});

formatter removes any indentation from the second line ("Mixin1, Mixin2, {"), but after "Correct Indentation" (Ctrl+I) its indentation is restored.
Comment 1 Victor Homyakov CLA 2012-07-06 04:29:30 EDT
Bug is still present in Web Tools 3.4.0.