Bug 215354

Summary: [formatter] Cannot set indent of closing braces
Product: [Eclipse Project] JDT Reporter: H.M. Brand <h.m.brand>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: h.m.brand, philippe_mulet
Version: 3.4   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description H.M. Brand CLA 2008-01-15 10:19:49 EST
Our company coding style is to indent the closing braces of blocks:

if (expression) [
    statement;
    if (expression) {
        statement;
        }
    else {
        statement;
        }
    }

We do this in sh, C, and perl. Likewise in XML, and HTML:

<table>
  <tr>
    <td>
      ......
      </td>
    <td>
      ......
      </td>
    </tr>
  </table>

JDT allows tons of (personal) settings but lacks this *vital* preference.
Comment 1 Mateusz Matela CLA 2016-05-03 16:31:17 EDT
*** Bug 485753 has been marked as a duplicate of this bug. ***