Skip to content

Suggestion: add option for first parameter to be on same line #18

@orchetect

Description

@orchetect

While I am actually a fan of Multiliner's current formatting behavior, some people might prefer not having a line-break between the method name and the first parameter.

Current Behavior

func sendAppStatus(
    to toNodes: [Node],
    name: String?,
    bundleID: String,
    state: Int32,
    isDockApp: Bool
) {
    // ...
}

Proposed opt-in behavior (as a preference)

First parameter starts on the same line, and closing parens trails immediately after the last parameter.

func sendAppStatus(to toNodes: [Node],
                   name: String?,
                   bundleID: String,
                   state: Int32,
                   isDockApp: Bool) {
    // ...
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions