Skip to content

Question: How to achieve a particular function argument wrapping style #2301

@gavingt

Description

@gavingt

I'm wondering if I can set a rule such that function calls get formatted like this:

let output = myMethod(a: p0, b: p1, 
  c: p2, d: p3, e: p4, f: p5, g: p6,
  h: p7, i: p8, j: p9)

Note how the second and third lines are indented one level (rather than the more common Swift style of indenting them to the first argument).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions