Multi root workspace wrong context

using @diff or @branch in chat in multi root workspace only passes the git changes from the first project (in my case)
i have not found a way to change this behavior, I tried changing the git repository in cursor (selection between the two projects in cursor in multi root workspace)
any way we could get this implemented?

Version: 2.3.26 (user setup)
VSCode Version: 1.105.1
Commit: bdbdd3f2cf698f583c5cdd2a6dc0f5aec4ed5f90
Date: 2026-01-07T07:11:15.842Z
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.19045

Hey, thanks for the report. This is a known issue: @diff and @branch in a multi-root workspace currently only work with the first repository.

Temporary workaround: open each repo as a separate workspace when you need to use @diff or @branch for a specific project.

The team is working on improving multi-root support. There are a few related issues in the backlog:

I’m tracking your thread and will share updates when we have them.

1 Like