Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 369783 - [formatter] Missing indentation after line comment
Summary: [formatter] Missing indentation after line comment
Status: NEW
Alias: None
Product: JSDT
Classification: WebTools
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Chris Jaun CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-26 05:42 EST by Victor Homyakov CLA
Modified: 2013-06-19 11:09 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 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.