Skip to content

Indentation of pretty-printed blocks is terrible #904

Closed
@marijnh

Description

@marijnh

It indents the body deeper than the opening brace, and runs off the right margin. I think something like this would preferable:

callsomethingwithablock({ | x | {
    // Indent one unit beyond the line that opened the block
    body_here();
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-prettyArea: Pretty printing (including `-Z unpretty`)

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions