Skip to content

JuliaFormatter.format has a different behaviour than Format Document in VS Code #1355

@alex180500

Description

@alex180500

Input file

1+2:3

Given this input it remains completely unchanged from VS Code Format Document without any .JuliaFormatter.toml (which should then default into the MinimalStyle).

But the JuliaFormatter.format on the same input (and same for format_text or format_file), gives instead (1+2):3.

I cannot also see any way to change such behaviour from the .toml file, seems like it is a parser problem of the vscode extension (maybe not updated JuliaFormatter version?).

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