When writing a lambda function, IntelliJ 2016.1.3 will backtrack from the code as follows:
IntStream.of(1, 2).forEach(i -> {
});
However, our code styles require an extra level of indentation:
IntStream.of(1, 2).forEach(i -> {
});
I like the automatic formatting of my code before committing, so I have to fix it manually.
I can not find the correct settings. I tried to increase the indentation of the continuation and several other seemingly suitable parameters to no avail. The same goes for anonymous classes.
source
share