Skip to content

Fix indentation in XML/XSD files#900

Merged
datho7561 merged 1 commit intoredhat-developer:mainfrom
datho7561:899-auto-indent-fix
May 3, 2023
Merged

Fix indentation in XML/XSD files#900
datho7561 merged 1 commit intoredhat-developer:mainfrom
datho7561:899-auto-indent-fix

Conversation

@datho7561
Copy link
Copy Markdown
Contributor

Make sure to upcast string|DocumentFilter correctly when setting indentation rules.

Fixes #899

Comment thread src/extension.ts Outdated
@angelozerr
Copy link
Copy Markdown
Contributor

See my comment otherwise it LGTM

@JessicaJHee if you have time could you test the PR of @datho7561 and merge it if it is good to have a prerlease tomorrow please.

Copy link
Copy Markdown
Member

@JessicaJHee JessicaJHee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've tested this PR and fixes the issue as expected. Once Angelo's comment is addressed, I think this is good to go! Thanks for providing a fix so quickly!

Make sure to upcast `string|DocumentFilter` correctly when setting
indentation rules.

Fixes redhat-developer#899
@datho7561 datho7561 force-pushed the 899-auto-indent-fix branch from 4664d8d to 4b1f693 Compare May 3, 2023 19:38
@datho7561 datho7561 merged commit bf0aa48 into redhat-developer:main May 3, 2023
@angelozerr
Copy link
Copy Markdown
Contributor

Thanks so much @datho7561 !

@angelozerr
Copy link
Copy Markdown
Contributor

Thanks @JessicaJHee for your fast review

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

Successfully merging this pull request may close these issues.

"Auto indent" setting is broken in version 0.25.0

3 participants