Hi, thanks for reporting an issue with Cursor.
Before you report this, we’d appreciate if you can search this forum to see if this issue has already been reported.
If you have done so, please check this box.
on
Describe the Bug
Clicking the filename at the top of a diff interface that appears in Composer displays an alert that says 'Unable to open ‘[file name] - The editor could not be opened because the file was not found’ with Cancel and Create buttons despite the file existing and the edit being successfully applied.
Steps to Reproduce
When using Composer with Agent mode (not sure if this happens with other configurations), I will ask to make a change. The model responds with the change including displaying diff interfaces for any files updated. These diff interfaces appear in the Composer chat with the file name at the top and then the edited code below with red and green diff highlights. Previously, I could click the filename at the top and it would focus that file in a tab in the center column, but now I get an alert box that says 'Unable to open ‘[file name] - The editor could not be opened because the file was not found’ with Cancel and Create buttons. If I then click Accept All in the input interface at the bottom of the Composer pane, the links work again.
Expected Behavior
Clicking the filename atop the diff boxes should always focus that file in a tab in the center column - even before clicking Accept All.
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Version: 0.44.9
VSCode Version: 1.93.1
Commit: 316e524257c2ea23b755332b0a72c50cf23e1b00
Date: 2024-12-26T21:58:59.149Z
Electron: 30.5.1
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Darwin x64 23.6.0
Additional Information
- when this happens, I am connected to an ec2 running AL2023 and editing files directly on the ec2 as opposed to locally; not sure if this happens when working locally
- this seems to be a new issue possibly introduced in one of the 0.44.x releases
Does this stop you from using Cursor
No - Cursor works, but with this issue