Prettier plugins cannot be used to format code in cursor; no files are supported. Previous versions of cursor could use this feature

Hey thanks for the report, this is a known issue - it’s already fixed in version 2.4.

Try this:

  1. Update Cursor to version 2.4 or newer: Cursor Settings > Beta > Early Access
  2. After updating you can switch back to Prettier v12+ - ESM is now supported
  3. Reload the window: Ctrl + Shift + P > Developer: Reload Window

If the issue persists after updating to 2.4+ let me know what exact version of Cursor you’re running.

Similar topic with a solution: After last update PRETTIER stopped working