[FEATURE] Add a feature to the Claude Code CLI to enable/disable automatic intercepting of selected lines/files in the connected IDE

Resolved 💬 3 comments Opened Oct 30, 2025 by behrangsa Closed Nov 3, 2025

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

Whenever I connect my CC to VS Code, and I select a few lines in VS Code, CC automatically detects those selected lines and adds them to its context, which is something that I prefer not to happen.

Add a feature, such as a slash command (e.g. /auto-select [on|off]), so we can disable CC auto-detecting the selected lines and adding them to the context.

Proposed Solution

Add a feature, such as a slash command (e.g. /auto-select [on|off]), so we can disable CC auto-detecting the selected lines and adding them to the context.

Alternative Solutions

_No response_

Priority

Medium - Would be very helpful

Feature Category

Interactive mode (TUI)

Use Case Example

_No response_

Additional Context

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗