-
Notifications
You must be signed in to change notification settings - Fork 6
VSCode extension XSLT/XPath fails to auto tag-close #138
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
Comments
Is this a problem when you're editing XSLT or just general XML? If this occurs when editing XSLT please supply an XSLT file with a missing tag that can't be auto-closed so I can reproduce this issue. If this occurs when editing general XML, it's possible RedHat's auto tag-close is conflicting with DeltaXML's XSLT/XPath extension (or vice-versa). Please note, by design, DeltaXML's XSLT/XPath extension only performs an auto-tag-close when '</' is typed. Completing a start-tag does not trigger the auto tag-close. |
Thanks for responding pfearo. The problem is the same when editing XML with the XSLT/XPath editor, but it shows up to me, when editing XSLT, e.g. the simple file test.xsl: (I renamed it to I was expecting that In the meantime I have installed VSCode with XSLT/XPath extension to Win11. I miss the expected behavior of the XSLT/XPath editor there as well. |
I've created a
To resolve (2) to see if this is caused by another extension you've installed, please could you try your example in a new workspace but after disabling all extensions in that workspace and then enabling just the DeltaXML XSLT/XPath extension? (There's a 'disable all installed extensions for this workspace' command that should help). |
Sorry for answering late. I changed to a different project with a different laptop, win10. And have the same issue. |
still missing a solution |
A rather delayed response I'm afraid, but there's one possible solution I failed to consider up till now: What is the setting you use for Editor: Format On Type ( If this is set false then auto-tag close will not function - the extension fixes this now by setting a default configuration for this setting is ExplanationThe 'auto tag-close' feature is actually provided by the XSLT formatting provider. This helps ensure that formatting is fixed at the same time as the close tag is inserted, with the added benefit of a single-step 'undo' operation. |
Copied from DeltaXML's Support Portal:
The text was updated successfully, but these errors were encountered: