Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 353594 - Enhancement: Formatter should a avoid deep indents
Summary: Enhancement: Formatter should a avoid deep indents
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.8   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT Core Triaged CLA
QA Contact: Ayushman Jain CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-02 10:31 EDT by Hans Meier CLA
Modified: 2011-08-08 06:04 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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