Cursor has trouble with multi-root workspaces and dont find correct path for implementation of composer code

Problem is pretty simple, i’m using cursor with multi-root worskpace.

Let’s say i’m editing a file in @folder1
Ex: @folder1/src/file.ts

Using composer, it always misses it and creates the full path @folder1/src/file.ts …inside @folder1
So i endup with an new file
@folder1/@folder1/src/file.ts

It’s really annoying and cant find anything on the topic. I’m missing a lot of Cursor features for this reason.
Let me know if you need me to provide more infos.

I finally found a solution:

  • I changed workspace config: instead of @nameofmyorg/nameofmy repo I used something simpler like nameofmyrepo for the name
  • I launched a reindexing (probably this one really did the trick).
    And now its working again!