| Summary: | [1.7][typing] Update the indenter for try with resources | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Deepak Azad <deepakazad> | ||||
| Component: | Text | Assignee: | Deepak Azad <deepakazad> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | enhancement | ||||||
| Priority: | P3 | CC: | amj87.iitr, daniel_megert, deepakazad | ||||
| Version: | 3.7 | Flags: | daniel_megert:
review+
|
||||
| Target Milestone: | 3.7.1 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Deepak Azad
3.7.1 time permitting. "FileReader reader2 = new FileReader("file2");" and subsequent resource
declarations are indented by 2 with respect to 'try' by the formatter, however
Ctrl+I does not indent them at all.
Created attachment 198169 [details]
fix + test
Dnai, the fix looks ok? The patch looks good. Please merge it with the patch from bug 348198 (this is also intended to go into 3.7.1 anyway) and commit both together into the beta branch. Thanks. Thanks for the review Dani! Committed to BETA_JAVA7. Verified using JDT feature patch v20110714-1300. |