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

Support xml.format.emptyElements setting with experimental formatter #1238

Closed
angelozerr opened this issue Jul 1, 2022 · 4 comments · Fixed by #1297
Closed

Support xml.format.emptyElements setting with experimental formatter #1238

angelozerr opened this issue Jul 1, 2022 · 4 comments · Fixed by #1297
Assignees
Labels
enhancement New feature or request formatting This issue or enhancement is related to formatting support
Milestone

Comments

@angelozerr
Copy link
Contributor

See https://github.com/redhat-developer/vscode-xml/blob/master/docs/Formatting.md#xmlformatemptyelements

@angelozerr angelozerr added the formatting This issue or enhancement is related to formatting support label Jul 1, 2022
@angelozerr angelozerr changed the title Support xml.format.emptyElements setting with experimental formatter. Support xml.format.emptyElements setting with experimental formatter Jul 1, 2022
@JessicaJHee
Copy link
Contributor

I believe this setting is already supported by

It also passes the first 3 tests in

Is the idea here to try to further support this with some invalid xml?

@angelozerr
Copy link
Contributor Author

I did that quickly.

@angelozerr
Copy link
Contributor Author

There are some tests which are disabled

@angelozerr
Copy link
Contributor Author

There is too à test at

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request formatting This issue or enhancement is related to formatting support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants