Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dschach opened this issue Jun 6, 2024 · 0 comments
Open

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

dschach opened this issue Jun 6, 2024 · 0 comments

Comments

@dschach
Copy link

dschach commented Jun 6, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant