🌱 Why Prettier does not format code in VSCODE

Source

There is a chance that your default formatter is not set:

File > Preferences > Settings > Search for "default formatter"

Make sure your Editor: Default Formatter field is not null but rather esbenp.prettier-vscode and that all the languages below are ticked. This fixed my issue.

Made by Brandon . If you find this project useful you can donate.