The source code formatter is configured in Eclipse . Not configured the way I like, namely, if I have call chains that look like this:

Source text before running formatter

After processing by the formatter, the whole chain is aligned in one line, which negatively affects the readability of the code:

Text after processing by formatter

I have not yet found how to properly configure the formatter, the only thing that came up with is to add single-line comment signs after each line:

Cheating formatter

The question is how to set up the formatter so that after it is processed, the source text looks like on the first image?

    1 answer 1

    My version (Linux):

    Version: Neon.1a Release (4.6.1) Build id: 20161007-1200

    Follow the arrows :)

    enter image description here

    Result:

    enter image description here

    • Thank you so much - cache