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

xml.foldings.includeClosingTagInFold has no effect in binary mode #906

Closed
newmyl opened this issue Jun 2, 2023 · 8 comments · Fixed by eclipse-lemminx/lemminx#1523
Closed

Comments

@newmyl
Copy link

newmyl commented Jun 2, 2023

My vs code's verion is 1.78.2
Vscode-xml's version is 0.25.0

@angelozerr
Copy link
Contributor

Could you share your xml and provide a sceenshot please

@newmyl
Copy link
Author

newmyl commented Jun 8, 2023

Could you share your xml and provide a sceenshot please

There is no effect on any xml files. Here is an example file. https://1drv.ms/u/s!Ajrp4wxbM4aWheh2WmQBi4qANSLISg?e=GBKK7E
This is the sceenshot.
QQ截图20230608115445
QQ截图20230608115518
QQ截图20230608115539

@fbricon
Copy link
Collaborator

fbricon commented Jun 8, 2023

I confirm https://github.com/redhat-developer/vscode-xml/blob/main/docs/Folding.md#xmlfoldingincludeClosingTagInFold no longer works. That's weird given our test suite in LemMinX is pretty exhaustive, it could be something on the vscode side.

@fbricon
Copy link
Collaborator

fbricon commented Jun 8, 2023

I found that it works when running in JVM mode.

@angelozerr angelozerr changed the title xml.foldings.includeClosingTagInFold has no effect xml.foldings.includeClosingTagInFold has no effect in binary mode Jun 8, 2023
angelozerr added a commit to angelozerr/lemminx that referenced this issue Jun 8, 2023
@angelozerr
Copy link
Contributor

I created a PR to fix this issue eclipse-lemminx/lemminx#1523 in binary mode

@newmyl
Copy link
Author

newmyl commented Jun 9, 2023

I created a PR to fix this issue eclipse/lemminx#1523 in binary mode

Many thanks.

@angelozerr
Copy link
Contributor

@newmyl you can install prerelease https://github.com/redhat-developer/vscode-xml#contributing to benefit with the fix

@newmyl
Copy link
Author

newmyl commented Jun 12, 2023

@newmyl you can install prerelease https://github.com/redhat-developer/vscode-xml#contributing to benefit with the fix

I have installed the prelelease and it works. Thank you.

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 a pull request may close this issue.

3 participants