[BUG] IDE integration fails with "workspace directories do not match" error despite identical paths

Status Closed — not planned
Maintainer reply None cached
Activity 6 comments · opened Aug 12, 2025 · closed Jan 13, 2026

Bug #4428 on MacOS is still a problem, please reopen that one.

View original on GitHub ↗

6 Comments

github-actions[bot] · 1 year ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/4428
  2. https://github.com/anthropics/claude-code/issues/1411
  3. https://github.com/anthropics/claude-code/issues/5096

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

videni · 1 year ago

still exists

github-actions[bot] · 10 months ago

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

tmorshed · 10 months ago

Still an issue - the problem arises especially when I open the VSCode/Cursor folder with a .code-workspace file in a folder or monorepo that includes multiple repositories or submodules. In those cases, Claude code mistakes the repositories as the "active directory", while the folder I actually have open on the IDE is the monorepo that includes everything else.

Steps to reproduce:

  • Make a folder on Cursor and clone two or more repositories in there. Let's call that the monofolder.
  • Create a .code-workspace file that lists the paths and names of those repositories in the monofolder.
  • Open this monofolder in "workspace" mode using the file you just generated. The titlebar should say "monofolder-name (Workspace)". Keep this IDE open.
  • Open your terminal, and change your directory to the monofolder.
  • Open Claude Code via the claude command.
  • Use the /ide command to connect to the IDE you just opened.

=> Claude Code will complain that the paths are mismatching.

github-actions[bot] · 9 months ago

This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.

github-actions[bot] · 8 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.