Skip to content

VScode: erroneous indentation after end marker #7274

Closed
@odersky

Description

@odersky

After a try or similar, VSCode will automatically indent the next line, which is generally desired.

But it does the same after an end try, which is bad. Same for if, while, for, match.

We should detect that the try is preceded by end and not indent then.

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