The VSCode extension automatically attaches the currently-opened editor file as context, which can bias the model. User wants a persistent setting to disable this default behavior, as the current in-prompt toggle only works for a single turn.
## Problem The VSCode native extension automatically attaches the currently-opened editor file to every turn as an `<ide_opened_file>` context block. For most prompts this file is unrelated to what the user is asking, and silently biases the model toward it. The in-prompt eye-icon toggle hides it for a single turn, but resets each turn. There is no way to flip the default. ## Request Add a persistent setting (in `~/.claude/settings.json` or VSCode settings under `claude-code.*`) to make the default *off*, with the eye-icon used to opt *in* per turn when the open file is actually relevant. Suggested key: `claude-code.autoAttachOpenFile: false` (default `true` to preserve current behavior). ## Why - Reduces noise / token usage on unrelated prompts - Prevents accidental context bleed when the user has a sensitive or unrelated file open - Matches user intent: the file is in the IDE, not in the conversation, unless explicitly shared ## Environment - Claude Code VSCode extension v2.1.14