After recently updating my VS Code, my prettier stopped working. The error says:
Extension 'Prettier - Code Formatter' cannot format (insert path here).
What I've tried to fix this issue,
- Setting the default formatter from 'null' to 'esbenp.prettier-vscode'
- Manually setting prettier as default formatter in settings.json
3. Install/Uninstall the prettier extension 4. Install/Uninstall VS Code itself and wiping out all extensions installed
All of this doesn't work at all and I'm out of ideas on how to fix this issue.
Prettier Version: 5.8.0 VS Code Version: 1.51.5