cursor icon indicating copy to clipboard operation
cursor copied to clipboard

Apply suggested change to file not within workspace gives wrong path

Open omarpalacios opened this issue 1 year ago • 0 comments

bug

Cursor version 0.40.4 VS Code version 1.91.1 OS: Windows 10

Steps to reproduce:

  1. I opened a .code-workspace file which on my VS Code had the oppened files of: a .txt NOT from anywhere inside that proyect
  2. I highlighted text from this .txt file NOT from the proyect of the oppened workspace and clicked search line so the AI calculates some time difference
  3. After I wanted this difference to get applied, to my surprise I got this error, saying the file doesn't exist and if I want to create it, viewing the Path is messed up miss calculating the root, and duplicating the C:/ part

The correct path is C:\Users\OPALACIOS\Desktop\Omar\todo.txt not C:\Users\OPALACIOS\Desktop\Omar\ConnectRepo\Bitbucket\connect-frontend\c:\Users\OPALACIOS\Desktop\Omar\todo.txt

omarpalacios avatar Sep 10 '24 01:09 omarpalacios