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

Provide basic experimental formatter which supports invalid XML #1195

Closed
angelozerr opened this issue Apr 7, 2022 · 0 comments · Fixed by #1044
Closed

Provide basic experimental formatter which supports invalid XML #1195

angelozerr opened this issue Apr 7, 2022 · 0 comments · Fixed by #1044
Assignees
Labels
enhancement New feature or request formatting This issue or enhancement is related to formatting support
Milestone

Comments

@angelozerr
Copy link
Contributor

This issue is used to initialized the new formatter which uses a new strategy to format XML. Instead of rewriting the XML with proper indentation (which causes problem with invalid XML which looses some content) with one TextEdit, the main idea is to generate several TextEdit whith only spaces and line sperator (remove or add spaces before the start tag / end tag element).

This issue will provide a new format stetting "experimental : true" to use this new formatter.

This issue will provide a basic formatter and all existing settings will not take care of. We will improve it step by step by taking care of existing format settings.

@angelozerr angelozerr added the formatting This issue or enhancement is related to formatting support label Apr 7, 2022
angelozerr added a commit to angelozerr/vscode-xml that referenced this issue Apr 14, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Apr 14, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Apr 15, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Apr 15, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Apr 16, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Apr 17, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Apr 17, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Apr 17, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Apr 18, 2022
angelozerr added a commit to angelozerr/vscode-xml that referenced this issue Apr 19, 2022
angelozerr added a commit to angelozerr/vscode-xml that referenced this issue Apr 19, 2022
angelozerr added a commit to angelozerr/vscode-xml that referenced this issue Apr 20, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Apr 20, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Apr 20, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Apr 24, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Apr 24, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Apr 24, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Apr 24, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Apr 24, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Apr 24, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Apr 24, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Apr 25, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Apr 25, 2022
angelozerr added a commit to angelozerr/vscode-xml that referenced this issue Apr 25, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Apr 26, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Apr 26, 2022
angelozerr added a commit to angelozerr/vscode-xml that referenced this issue Jun 16, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Jun 16, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Jun 16, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Jun 18, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Jun 18, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Jun 18, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Jun 18, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Jun 18, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Jun 18, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Jun 18, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Jun 18, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Jun 19, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Jun 19, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Jun 19, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Jun 20, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Jun 20, 2022
angelozerr added a commit to angelozerr/vscode-xml that referenced this issue Jun 20, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Jun 20, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Jun 20, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Jun 20, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Jun 20, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Jun 20, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Jun 20, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Jun 20, 2022
angelozerr added a commit to angelozerr/lemminx that referenced this issue Jun 20, 2022
angelozerr added a commit that referenced this issue Jun 20, 2022
Fixes #1195

Signed-off-by: azerr <azerr@redhat.com>
@angelozerr angelozerr added this to the 0.21.0 milestone Jun 20, 2022
angelozerr added a commit to redhat-developer/vscode-xml that referenced this issue Jun 20, 2022
@angelozerr angelozerr added the enhancement New feature or request label Jun 29, 2022
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.

1 participant