Skip to content

Switch block case with conditionals adding newlines #1630

@Hona

Description

@Hona

Includes and or etc

Input:

switch ("")
{
    case "" or "":
        break;
}

Output:

switch ("")
{
    case ""
    or "":
        break;
}

Expected behavior:

I think if we're under the line length its good to keep on one line.
Probably expected to keep the same as input in this case

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions