Skip to content

Comments change position after formatting #30

Description

@MathiasVDA

Hello,

I've created a new fork of yasgui and implemented sparql-formatter in addition to the legacy formatter. Currently using v1.0.2. We notice that comments change position.

For example

#comment 1
GRAPH ?g {
#comment 2
}

after formatting it is changed into

#comment 1
#comment 2
GRAPH ?g {

}

Could you take a look at this and make sure that the comment positions are preserved?

Thanks

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