Skip to content

Ending empty line is always deleted #973

Description

@davidavetyan

After formatting any XML document, the empty line at the end is always removed.
This happens even if the following extension settings are set:

xml.format.preserveAttributeLineBreaks: true
xml.format.preservedNewlines: 2

Either the formatter should respect the xml.format.preservedNewlines value when formatting the ending lines, or a new setting should be added to control this behavior.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions