| Summary: | [formatter] indentation of comments in object | ||
|---|---|---|---|
| Product: | [WebTools] JSDT | Reporter: | Victor Homyakov <vkhomyackov> |
| Component: | General | Assignee: | Project Inbox <jsdt.javascript-inbox> |
| Status: | NEW --- | QA Contact: | Chris Jaun <cmjaun> |
| Severity: | minor | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
This bug is still present in Web Tools 3.4.0 |
When formatting this example: var style={ // border: "0", height: height+"px", // padding: "0px", width: width+"px" // margin: "0px" }; result should look like var style = { // border: "0", height: height + "px", // padding: "0px", width: width + "px" // margin: "0px" }; but is var style = { // border: "0", height: height + "px", // padding: "0px", width: width + "px" // margin: "0px" }; The last comment before closing brace is misaligned (is on the level of the "var style = ..." declaration). Eclipse: Eclipse Java EE IDE for Web Developers. Version: Indigo Service Release 1 Build id: 20110916-0149