Root cause: Cursor doesn’t support ESM extensions yet, which newer versions of Prettier require. The team is tracking this, but the downgrade workaround should help for now.
Thx for reply, I will read about it, but what should i downgrade? Cursor or Prettier (Im on 11.0.2 that was recommended, but CTRL+S still doesn’t format the Vue file—oh well.
When I make several spaces, the component returns to the beginning of the line, but when I skip, say, 10 lines, Prettier should format it so that there is a maximum of 1 free line between components, and that does not happen.
I didn’t touch any settings (I was working last week), and now after the weekend update, the whole thing is broken…
Strange behavior. If the downgrade to 11.0.2 worked, formatting should work fully.
Can you check a couple things:
In the Output panel (View > Output), pick Prettier from the dropdown and see if there are any errors there.
Check your .prettierrc or prettier.config.js. You might have settings that affect how Vue blank lines get formatted.
For Vue files, Prettier usually keeps blank lines as they are and doesn’t compress multiple blank lines into one, unless you’re using a plugin like prettier-plugin-organize-imports or some specific settings. So this might be expected Prettier behavior, not a bug.