Hello,
I was wondering if it is possible to configure clang-format to not break the line before the Java 8 lambda operator. For example,
entries.forEach(entry ->
assertTrue(String.format("Host set includes '%s'",
entry.getName()),
hostNames.contains(entry.getName())));
gets turned into:
entries.forEach(entry
-> assertTrue(String.format("Host set includes '%s'",
entry.getName()),
hostNames.contains(entry.getName())));
This is my .clang-format: