Skip to content

swift-format line break after the = #1002

@miku1958

Description

@miku1958

I am using VSCode + Swift extension.

Not sure how it works, but if I set respectsExistingLineBreaks to true, this code

velocity = Vector3(
	x: input.x,
	y: 0,
	z: input.y
) * speed

will be formatted as

velocity =
	Vector3(
		x: input.x,
		y: 0,
		z: input.y
	) * speed

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