Open Claude in this folder" context menu option
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 working in a large monorepo or multi-project workspace, I often need Claude Code to focus only on a specific subfolder rather than the entire workspace.
Currently, the only ways to achieve this are:
- Manually create and maintain a
.claudeignorefile - Open the subfolder as a separate VSCode window
- Use the terminal with
cdcommand
This workflow is inefficient because:
- Managing
.claudeignoreis tedious for temporary, one-off focused work - Opening a new window loses the context of my main workspace
- Terminal requires typing paths manually, which is cumbersome for non-English folder names
I want to simply right-click a folder and instantly scope Claude's context to that directory, without leaving my current workspace or managing configuration files.
Proposed Solution
Description:
Currently, when working in a large workspace with multiple folders, Claude Code operates on the entire workspace root. This can lead to unnecessary token consumption when I only need AI assistance for a specific subfolder.
Proposed Solution:
Add a right-click context menu option on folders in the Explorer panel: "Open Claude Code Here" or "Scope Claude to this folder"
This would allow users to:
Quickly focus Claude's context to a specific directory
Reduce token usage by limiting the scope of file searches
Avoid manually configuring .claudeignore for temporary focused work
Use Case:
As a developer working on a monorepo or multi-project workspace, I often only need Claude's help with one specific project at a time. Being able to right-click and scope Claude to that folder would be much more intuitive than switching workspaces or managing ignore files.
Alternative Solutions
_No response_
Priority
Medium - Would be very helpful
Feature Category
File operations
Use Case Example
When working in a large monorepo or multi-project workspace, I often need Claude Code to focus only on a specific subfolder rather than the entire workspace.
Currently, the only ways to achieve this are:
- Manually create and maintain a
.claudeignorefile - Open the subfolder as a separate VSCode window
- Use the terminal with
cdcommand
This workflow is inefficient because:
- Managing
.claudeignoreis tedious for temporary, one-off focused work - Opening a new window loses the context of my main workspace
- Terminal requires typing paths manually, which is cumbersome for non-English folder names
I want to simply right-click a folder and instantly scope Claude's context to that directory, without leaving my current workspace or managing configuration files.
Additional Context
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗