Autocomplete and type checking are not working in .tsx files in Cursor, even though it works in .html files. TypeScript is installed locally (v5.9.3) and tsserver runs correctly via npx tsserver. Autocomplete doesn’t works in plain .ts files or React .tsx files, no suggestions, type hints, or error highlighting appear.
Steps to Reproduce
Open Cursor.
Open a project with a tsconfig.json and React .tsx files.
Open any .tsx file (e.g., App.tsx).
Try typing JSX elements or using component props.
Expected Behavior
Autocomplete suggestions for JSX elements, props, and imported components.
I’ve reinstalled Cursor’s different versions, in the version 1.2 it has shown me following error. However it worked before, I’ve disabled a couple of extensions then it works on version 1.2. Have a plan to try upgrade version and have a look was it resolved.
I got almost exactly this error but it seemed to have fixed itself (after rebooting cursor and updating to the latest version), I’m on 2.0.38 , are you still on 2.0.34?