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

Bug 353594

Summary: Enhancement: Formatter should a avoid deep indents
Product: [Eclipse Project] JDT Reporter: Hans Meier <eclipseBugs>
Component: CoreAssignee: JDT Core Triaged <jdt-core-triaged>
Status: NEW --- QA Contact: Ayushman Jain <amj87.iitr>
Severity: enhancement    
Priority: P3 CC: amj87.iitr, frederic_fusier
Version: 3.8   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Hans Meier CLA 2011-08-02 10:31:25 EDT
Build Identifier: Build id: 20110615-0604

At our company we have the rule that if you must make a line break the following line is indented 8 blanks relative to the first line.

This makes the eclipse formatter:
      Other.bar(100,
                nested(200, 300,
                        400, 500,
                        600, 700,
                        800, 900));

This is what I want:
      Other.bar(100,
              nested(200, 300,
              400, 500, 600, 
              700, 800, 900));

Would be really great if the functionality becomes possible to configure.

Reproducible: Always