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?
0
3 comments
Avatar
Permanently deleted user

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

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

0
Avatar
Permanently deleted user

Ok, thanks for the info

0

Please sign in to leave a comment.