Replies: 2 comments 1 reply
-
Seems to work for me even on Windows with the default settings: "XML": {
"prettier": {
"allowed": true,
"plugins": ["@prettier/plugin-xml"]
}
} so not sure what happens. This error originates from prettier and tells that it failed to use the file path as way to deduce the parser, but we have similar pathes there. One thing you can try would be to add |
Beta Was this translation helpful? Give feedback.
-
Looks like |
Beta Was this translation helpful? Give feedback.
-
I tried a few different configurations but
xml
files refuse to cooperate. All other file types I use are formatting on save:css
,html
,js
,json
,tsx
, etc.If I invoke the
editor: format
command I get an error:I read a bit about some difficulties others were having with XML but I haven't been able to figure it out. My
settings.json
only has a few lines of UI overrides, nothing related to formatting.Beta Was this translation helpful? Give feedback.
All reactions