claude-code - 💡(How to fix) Fix Support multi-project workspace with @ mentions (like Cursor) [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#47983Fetched 2026-04-15 06:36:44
View on GitHub
Comments
1
Participants
2
Timeline
3
Reactions
0
Author
Timeline (top)
labeled ×2commented ×1

Root Cause

Cursor's @ workspace feature is extremely useful for:

  • Cross-project refactoring
  • Understanding API contracts between services
  • Building shared SDKs that span multiple repos)
RAW_BUFFERClick to expand / collapse

Problem

Currently Claude Code only supports operating within a single project directory. Unlike Cursor (which uses VS Code's multi-root workspace feature), there's no way to work with multiple projects simultaneously in a single conversation.

Desired Behavior

Support multi-project workspace similar to Cursor's approach:

  1. Allow opening multiple project directories in one session
  2. Use @ syntax to reference code from different projects
  3. Claude indexes all open projects, enabling cross-project code understanding

Use Case

For monorepo-style setups or when two projects call each other, developers need Claude to understand both codebases. Currently requires:

  • Opening two separate Claude Code instances
  • Manually referencing files with absolute paths (inefficient)

Why This Matters

Cursor's @ workspace feature is extremely useful for:

  • Cross-project refactoring
  • Understanding API contracts between services
  • Building shared SDKs that span multiple repos)

extent analysis

TL;DR

Implementing a multi-project workspace feature similar to Cursor's approach is likely the most effective fix to support working with multiple projects simultaneously in Claude Code.

Guidance

  • Investigate VS Code's multi-root workspace feature to understand how Cursor implements its multi-project support, as this could provide a foundation for Claude Code's development.
  • Consider how to integrate the @ syntax for referencing code from different projects, ensuring it aligns with Claude Code's existing functionality and user experience.
  • Develop a method for Claude to index all open projects, enabling cross-project code understanding and analysis.
  • Evaluate the feasibility of supporting monorepo-style setups and cross-project calls within a single Claude Code session.

Example

No specific code example can be provided without further details on Claude Code's architecture, but exploring VS Code extensions that utilize the multi-root workspace feature could offer insights into potential implementation strategies.

Notes

The implementation details may vary based on Claude Code's underlying architecture and how it interacts with project directories. Ensuring backward compatibility and a smooth user experience during the transition to a multi-project workspace feature will be crucial.

Recommendation

Apply a workaround by utilizing VS Code's multi-root workspace feature as a temporary solution until the multi-project workspace feature is fully integrated into Claude Code, as this would allow for some level of multi-project support.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix Support multi-project workspace with @ mentions (like Cursor) [1 comments, 2 participants]