Format document with option not shown on right mouse click

Hey, thanks for the report. this is a known issue with formatting extensions (Prettier and others) after recent Cursor updates.

There’s a working workaround with step-by-step instructions here: No longer eligible as formatter for many types of files · Issue #3906 · prettier/prettier-vscode · GitHub (you need to roll back the Prettier extension version).

A similar report was already resolved here: Prettier broke after updating Cursor to 2.39.41

Root cause: Cursor doesn’t support ESM extensions yet (this changed in VSCode 1.100+), and the team is working on adding that support.

Try the workaround above, it should help.