My cursor version is stuck at this
Version: 2.3.41 (Universal)
VSCode Version: 1.105.1
Commit: 2ca326e0d1ce10956aea33d54c0e2d8c13c58a30
Date: 2026-01-16T19:14:00.150Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 25.2.0
Downgrading to 11.0.2 wasnât enough. I had to manually remove the old version
After downgrading to 11.0.2, formatting still didnât work for me. The issue was that both versions of the extension were installed.
Hereâs what fixed it:
Close Cursor completely (Cmd + Q on Mac)
Open a terminal (not Cursorâs terminal) and check for duplicate Prettier extensions:
ls ~/.cursor/extensions/ | grep prettier
I saw two versions installed:
esbenp.prettier-vscode-11.0.2-universal
esbenp.prettier-vscode-12.1.1-universal
Manually remove the broken v12 version:
rm -rf ~/.cursor/extensions/esbenp.prettier-vscode-12.1.1-universal
Verify only v11.0.2 remains:
ls ~/.cursor/extensions/ | grep prettier
# Should show only: esbenp.prettier-vscode-11.0.2-universal
Restart Cursor and reload window (Cmd + Shift + P â âDeveloper: Reload Windowâ)
Format on save works again!
2 Likes
If youâre still experiencing issues with prettier after completing the steps above, check your settings.json file in VS Code settings and make sure no default formatters are overriding prettier. For example, remove any entries like this:
"[typescript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
}
2 Likes
Ivan_Diaz
(Ivan Diaz)
January 23, 2026, 4:21pm
25
Thankyou. This worked for me
tifish
(Tinyfish)
January 25, 2026, 4:48am
26
Dean Rie:
Hey, hereâs an update on this issue:
The fix for ESM extension support (including Prettier v12+) is done and should be in version 2.4.
Give it a try:
Update to Cursor 2.4 or newer (Cursor Settings > Beta > Early Access)
After updating, you can switch back to Prettier v12+ - ESM is now supported
Reload the window after installing: Ctrl + Shift + P > Developer: Reload Window
If the issue still happens on version 2.4+ let us know what exact version of Cursor youâre running.
v12 still not working under Windows.
1 Like
Shekler
(Sven)
January 25, 2026, 3:01pm
27
Can confirm, this issue still isnât fixed in Cursor Version 2.4.21 under Windows 11.
I had to manually install Prettier 11.0.3 and remove the version 12 from ~/.cursor/extensions.
noor
(Noredeen Al-Zu'bi)
January 25, 2026, 8:24pm
29
thank you everyone for the reports. we found the bug affecting Prettier users on Windows and are rolling the fix out ASAP.
1 Like
elsons
(Sam Elson)
January 27, 2026, 12:35pm
30
2.4.21 was also broken for me, however I have just updated to 2.4.22 and it seems to be fixed.
tadjh
(tadjh)
January 27, 2026, 8:15pm
31
2.4.22 fixed Prettier in Cursor for me on Windows
Downgrading to v11.0.2 fix prettier but prettier-plugin-tailwindcss is still broken for me
alyustik
(Artem)
January 29, 2026, 11:59am
33
partially fixed on latest version, yet I still have some formatting issues, e.g. printWidth is ignored, tho not sure if it is a plugin issue or cursor
nothing suspicious in prettier logs
["INFO" - 11:02:43 PM] Using config file at d:\REPOS\****\.prettierrc
["INFO" - 11:02:43 PM] EditorConfig support is enabled, checking for .editorconfig files
["INFO" - 11:02:43 PM] Resolved config:
{
"useTabs": false,
"tabWidth": 2,
"endOfLine": "lf",
"semi": true,
"singleQuote": false,
"trailingComma": "all",
"bracketSpacing": true,
"bracketSameLine": false,
"arrowParens": "always",
"proseWrap": "always",
"printWidth": 120
}
yes same here after rolling back to 11.0.2
partially works but ignores printWidth and allowing any amount of blank lines
*iâm on mac btw
weâre 3 years and 14 days away from 6 months after which software developers will become obsolete, and a multi-billion dollars company can not fix the prettier plugin
1 Like
100% agreed. Insane they havenât fixed this. Feels like a pretty damn normal thing to sev0 as well as the fact that with autoformatOnSave its just a PITA.
tifish
(Tinyfish)
February 4, 2026, 3:49am
37
tadjh:
2.4.22
2.4.27 seems broken again.
1 Like
noor
(Noredeen Al-Zu'bi)
February 10, 2026, 4:43pm
38
Prettier is expected to correctly activate and run on the latest from 2.4 (2.4.31), on all platforms. Weâre looking into the formatting issues. Nothing in Cursor should affect the formatting behavior of Prettier, but itâs possible there is an API difference or a subtle extension host bug. Investigating.