Unable to format .svelte files #7985
Answered
by
SaxJ
chrisolsen
asked this question in
Q&A
-
The following language config doesn't run on save or when I manually run Any ideas to why this is?
Using helix 23.05 (7f5940b) |
Beta Was this translation helpful? Give feedback.
Answered by
SaxJ
Aug 17, 2023
Replies: 1 comment 1 reply
-
Helix expects the formatter to read the file from Prettier doesn't do this by default. Try prettier with the
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
chrisolsen
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Helix expects the formatter to read the file from
stdin
, and output the formatted file tostdout
.Prettier doesn't do this by default.
Try prettier with the
--stdin
option maybe: