plugin-xml icon indicating copy to clipboard operation
plugin-xml copied to clipboard

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

Open dschach opened this issue 1 year ago • 0 comments

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?

dschach avatar Jun 06 '24 16:06 dschach