Skip to content

Open Claude in this folder" context menu option #18503

Description

@NSNet21

Preflight Checklist

  • I have searched existing requests and this feature hasn't been requested yet
  • 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 .claudeignore file
  • Open the subfolder as a separate VSCode window
  • Use the terminal with cd command

This workflow is inefficient because:

  1. Managing .claudeignore is tedious for temporary, one-off focused work
  2. Opening a new window loses the context of my main workspace
  3. 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

Image

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 .claudeignore file
  • Open the subfolder as a separate VSCode window
  • Use the terminal with cd command

This workflow is inefficient because:

  1. Managing .claudeignore is tedious for temporary, one-off focused work
  2. Opening a new window loses the context of my main workspace
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions