formatting settings problem

when reformatting a long line, idea breaks it up like this:

 final
 List<Location>
  byName =
CollectionUtils.sortedBy(locations, new CollectionUtils.Function<Location, String>() {

i want to achieve this:

 final List<Location> byName =
  CollectionUtils.sortedBy(locations, new CollectionUtils.Function<Location, String>() {


which setting is the one i need to switch on or off?
3 comments
Comment actions Permalink

Hello,

Please provide your code style settings and exact problem source code (I'm mostly insterested in indent used for the target line and where right margin is located with it).

Denis

0
Comment actions Permalink

it was the setting "chop down if long" instead of "wrap if long" in the "assignment statement"-setting

0
Comment actions Permalink

Ok, thanks for the info

0

Please sign in to leave a comment.