Discussion on Cursor forum: https://forum.cursor.com/t/after-last-update-prettier-stopped-working/149213
I managed to fix it a couple of days ago by:
- updating to the latest Cursor version
- downgrading the Prettier extension to 11.0.2
- removing the following from settings.json "[typescript]": { "editor.defaultFormatter": "vscode.typescript-language-features" }
(more info: https://forum.cursor.com/t/after-last-update-prettier-stopped-working/149213/24)
- manually removing the broken v12 prettier extension (they were two versions v11 and v12 installed in .cursor/extensions): rm -rf ~/.cursor/extensions/esbenp.prettier-vscode-12.1.1-universal
(more info: https://forum.cursor.com/t/after-last-update-prettier-stopped-working/149213/23)