-
Notifications
You must be signed in to change notification settings - Fork 79
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
Plugin is not recognized as a XML formatter #154
Comments
Could you try disabling all extensions, then enabling only the XML one. Also just to verify, do you have a JDK installed an setup? Are features like autocompletion or linting working? Another thing to check is the preference "xml.format.enabled" and make sure that is 'true' |
hello @NikolasKomonen , this is the same for me. |
After disabling all extensions and enable this plugin again, everything works as expected. Now, I am enabling the other disabled extensions again. So far, there are no problems. Thanks. |
@xorye , After leaving it alone and focusing on other tasks, I see that now is working, also with other extensions. Also, Ctrl+Shift+I enables a multi-line for me, but that one I think is a thing from my settings. Maybe there is something that I am doing wrong...? |
This definitely seems like an issue with the XML extension. I was able to reproduce the issue and am currently investigating it. |
Until the next release that fixes this issue, as a workaround, just save your document as an xml file. |
I'm having the same issue, but saving the new file doesn't fix the problem. I've enabled/disabled the other extensions until I found the culprit: ms-toolsai.jupyter-keymap If redhat.vscode-xml is loaded first, I can't format XML. if redhat.vscode-xml is loaded after ms-toolsai.jupyter-keymap then I can format XML (with all extensions enabled). I rarely use Jupyter and haven't tested whether loading them in this order inhibits any features of that extension. |
@TBemrose do you benefit with other features like validation when you have the XML formatter problem? |
Even if the plugin is installed, it isn't recognized as a suitable XML formatter when trying to format a XML document, but the message "There is no formatter for 'xml'-files installed" is shown instead.
The text was updated successfully, but these errors were encountered: