What I would like to achieve with lambda indentation is the following:
Multi-line statement:
String[] ppl = new String[] { \"Karen (F)\", \"Kevin (M)
If you don’t already have a custom Eclipse formatter:
Eclipse preferences Java > Code Style > Formatter New Enter a name Click ok Control line breaks
Edit the profile Line wrapping tab Check “Never join already wrapped lines”
It will end up like this
String phrase = employeeList
.stream()
.filter(p -> p.getAge() >= 33)
.map(p -> p.getFirstName())
.collect(Collectors.joining(" and ", "In Germany ", " are of legal age."));
Need to type every . start in the next line
credits - https://www.selikoff.net/2017/07/02/eclipse-and-line-wrapping/