[FEATURE] VS Code Extension (Beta) regression: Configure "current working directory" (CWD)
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
This issue refers to the 2.0.5 beta version of the Claude VSCode extension.
Previously it was possible to change the cwd of a claude session by /quit -> cd [...] -> claude
Alternatively /add-dir could be used to add necessary directories.
The lack of either of these features reduces capabilities in a multiroot/project workspace. All projects cannot be added to context.
Proposed Solution
I would like to be able to specify my project's parent directory (or any directory) as my claude cwd.
Alternative Solutions
Autodetecting the projects within a workspace may be a good solution if there is additional flexibility. I keep "system-level" context in the parent directory for claude that is not part of the workspace. I can place these anywhere as long as they can be added to context.
For the time being, I cannot use the beta version. As a workaround, I've configured the setting "claude-code.useTerminal": true to continue using the legacy version.
Priority
High - Significant impact on productivity
Feature Category
Configuration and settings
Use Case Example
I have two (plus docs) projects nested in a parent directory that are developed in sync. Claude needs context on all in order to complete features. From the terminal, I open VSCode with > code my-project.code-workspace. When I open a claude panel, I'd like for it to
- detect my root directory (where I ran the
codecommand) - detect the three projects listed in the .code-workspace file
- Add them all as directories
- make it clear which directory of those is the current one when running bash commands
Additional Context
_No response_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗