Break calls with many arguments onto multiple lines

This post

https://intellij-support.jetbrains.com/hc/en-us/community/posts/206594115-possible-to-split-a-long-line-into-multiple-lines-

describes how to break the arguments passed to function calls that exceed the line size of the ruler into multiple lines. This works in PHPStorm, but I cannot find a similar option in Goland, while this would be useful. Is there any way to achieve the same in Goland, perhaps using a different setting? If not, I would like to make this a feature request.

E.g.

```

something := forSomeReasonIUseLongFunctionNames(andAlsoLongVariableNames, thisIsBecomingLong, letsBreakItIntoMultipleLines)

```

to become

 

```

something := forSomeReasonIUseLongFunctionNames(

  andAlsoLongVariableNames,

  thisIsBecomingLong,

  letsBreakItIntoMultipleLines,

)

```

 

0
1 comment

Hi Stephan,

there is no such an ability at the moment, please watch/vote for https://youtrack.jetbrains.com/issue/GO-8362.

 

0

Please sign in to leave a comment.