SwiftFormat icon indicating copy to clipboard operation
SwiftFormat copied to clipboard

Question: Wrap function calls

Open gmoraleda opened this issue 10 months ago • 7 comments

Is there a way to enforce wrapping parameters in a function call? Similarly to wrapping parameters in a function definition.

I.e.:

--wrapparameters after-first
func foo(paramA: TypeA,
		  paramB: TypeB,
  		  paramC: TypeC)

wrapping them when calling the function:

foo(paramA: paramA,
	paramB: paramB,
	paramC: paramC)

gmoraleda avatar Sep 26 '23 11:09 gmoraleda