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

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

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

Steps to Reproduce

Use the Prettier plugin in the cursor to format JS or TypeScript code.

Screenshots / Screen Recordings

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.3.41 (user setup)
VSCode Version:1.105.1
Commit: 2ca326e0d1ce10956aea33d54c0e2d8c13c58a30
Date: 2026-01-16T19:14:00.150Z(4days ago)
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js:22.20.0
V8:13.8.258.32-electron.0
OS: Windows NT x64 10.0.26200

Does this stop you from using Cursor

No - Cursor works, but with this issue

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

The problem persists even after upgrading to the latest version.
However, the solution you provided can solve this by downgrading the plugin version.

Version: 2.4.18 (user setup)
VSCode Version: 1.105.1
Commit: d6b5b3d9811e239b5de518f7d9d4cbb38b917300
Date: 2026-01-22T05:02:22.845Z
Build Type: Stable
Release Track: Default
Electron: 39.2.7
Chromium: 142.0.7444.235
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Windows_NT x64 10.0.26200

If the plugin version and cursor version are as shown in the image above, the plugin still won’t work.

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.