vscode-xml
vscode-xml copied to clipboard
add a folding provider
https://github.com/Microsoft/vscode/issues/46200 asks for syntax aware folding for XML.
It would be cool if vscode-xml could implement the foldingRangeProvider API.
@aeschli please try https://github.com/angelozerr/lsp4xml/ which implements LSP folding https://github.com/angelozerr/lsp4xml/wiki/Features#folding
Please try redhat.vscode-xml which provides this features:
Are there options that don't require me to install Java? Why does that plugin require
Java JDK 8 or more recent Ensure Java path is set in either: java.home in VSCode preferences Environment variable JAVA_HOME or JDK_HOME
No, you need Java. redhat.vscode-xml consumes the lsp4xml language server which is written in Java. The main reason is that, lsp4xml is using Xerces Java which provides a very good XML Schema support
which is used for completion and validation when XML files are linked to XML Schema.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I think this would be a great asset.
Are there options that don't require me to install Java? Why does that plugin require
Please note that vscode-xml 0.15.0 from Red Hat no longer require Java, so you will benefit from folding feature.