O
O
Oleg Urievich2020-02-25 02:14:19
JavaScript
Oleg Urievich, 2020-02-25 02:14:19

Why doesn't Prettier in VS Code format on save?

5e54582edd567020522741.png

Actually Prettier suddenly stops formatting when saving, although there are no errors in the code. I attached a screenshot of the log from it. It happens at an incomprehensible moment, usually everything is fine.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
S_Corvin, 2020-12-17
@S_Corvin

1. Select VS Code -> View -> Command Palette and enter: Format Document With
2. Then Configure Default Formatter... and then select Prettier - Code formatter .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question