After last update PRETTIER stopped working

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:

  1. Close Cursor completely (Cmd + Q on Mac)

  2. Open a terminal (not Cursor’s terminal) and check for duplicate Prettier extensions:

    ls ~/.cursor/extensions/ | grep prettier

  3. 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

  4. 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

Thankyou. This worked for me

v12 still not working under Windows.

1 Like

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.

thank you everyone for the reports. we found the bug affecting Prettier users on Windows and are rolling the fix out ASAP.

1 Like

2.4.21 was also broken for me, however I have just updated to 2.4.22 and it seems to be fixed.

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

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.

2.4.27 seems broken again.

1 Like

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.