How I’ve sorted it after having super huge frustrations with Prettier stopping working in VSCode.
- Select
VS Code->View->Command Palette, and type:Format Document With - Then
Configure Default Formatter...and then choosePrettier - Code formatter.
This sorted the problem for me magically.
Depending on your case this might help you…