Open tommy-mitchell opened 1 year ago
Try using associations
instead of exts
. I'm unable to reproduce the issue with your repro, however I have observed the reported behaviour in a separate repo.
I was still able to reproduce my repro locally, but the associations
option worked perfectly, thanks!
Hm, so weirdly enough, this works great from the CLI (dprint fmt foo.js
), but the VS Code extension gives the error:
[ERROR] Error formatting text. Error: Cannot start formatter process: No such file or directory (os error 2)
I'm trying to format with
xo
using this plugin, but it seems likexo
is never being called.Minimal config:
Minimal repro: https://github.com/tommy-mitchell/dprint-repro-exec-xo