reformat indent lambda expression


I have update from version 2016.1 to 2016.2 and the reformat definition is changed and creates problems:


I use on lambda expression the definition

         .map( i -> {

                 // do something with i

         } )


on 2016.2 the reformat creates

         .map( i ->


                      // do something with i

              } )


I cannot create with 2016.2 equal reformated code to 2016.1. If I set the "brace placement" to "other" to "line end" also if-clauses do not break the { into the next line. So I need a detailed format definition for lambda expression in my case the { should be after the -> (within the same line) or should be breakted and placed unter the .map (under the function).

Can this be fixed?





Please sign in to leave a comment.