Skip to content

Please include option not to auto-self-close empty nodes #793

Open
@dschach

Description

There are some situations (Salesforce metadata) where the metadata should not self-close:

This is the desired XML:

<searchLayouts></searchLayouts>

but the plugin auto-closes it to

<searchLayouts/>

I realize that maybe this isn't a best practice, but it is causing a ton of changes in our VCS that we'd rather not have to deal with, and it clutters IDEs until the commit is cleaned with Husky and Prettier.

Could we please have a boolean to prevent this kind of cleanup?

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