[FEATURE] Multi-root workspace support in VSCode extension
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
When using a VSCode multi-root workspace (.code-workspace file), Claude Code's @ file autocomplete only indexes the primary workspace folder. Files in additional workspace folders are not indexed and cannot be referenced with @. This forces users to manually type full file paths or maintain separate Claude Code sessions per folder, breaking the workflow of referencing files across workspace roots.
Proposed Solution
When Claude Code is opened in a multi-root workspace, all workspace folders should be indexed for @ file autocomplete. Files from any root should appear in the picker, ideally prefixed or grouped by folder name (as defined in the .code-workspace file) to make it clear which root they belong to.
Alternative Solutions
Tried adding a symlink inside the primary workspace folder pointing to the secondary folder. Claude Code can access files through it but they are still not indexed for @ autocomplete. Currently working around it by typing file paths manually.
Priority
Medium - Would be very helpful
Feature Category
Other
Use Case Example
_No response_
Additional Context
Running Claude Code 2.1.63 (extension) in VSC 1.109.5.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗