Eclipse code formatter multiline function call closing bracket indention -


currently eclipse formatter formats multiline function call this:

someobject.dosomething(   some().long().chain().of().methods()   ); 

but want eclipse align closing bracket method call:

someobject.dosomething(   some().long().chain().of().methods() ); 

i have tried playing around new line , wrapping rules in code formatter haven't been able achieve this. solution?


after time of digging found similar question has accepted answer seems not answer same question: can eclipse formatter configured indent multiple lines between parenthesis properly?

the author of question states:

edit: found settings "line wrapping" -> "default indentation wrapped lines" , "default indentation array initializes" , have set them "1" instead of "0". better array initializers, but still doesn't indent closing parethesis match opening parenthesis way want to:


Comments

Popular posts from this blog

xml - Extract substrings with XSLT -

math - "ELO Rating" and how does "TSR Rating" work? -

How can do a tuple comparison in coffeescript similar to that in python? -