Skip to content

Don't insert unnecessary (double) space for // inline comments #868

Closed
@ktoso

Description

@ktoso

Swift-format has this really weird behavior of adding an "extra" space for inline comments:

Screenshot 2024-10-30 at 19 07 50

from:

hello() // says hello

to

hello()  // says hello

This is pretty weird and should not be happening.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions