Add option to disable IDE editor-context injection (VSCode)
Status Closed — duplicate
Maintainer reply None cached
Activity 4 comments · opened May 19, 2026 · closed May 23, 2026
I keep a .txt file open in VSCode as a scratchpad to draft prompts before sending. Because the Claude Code VSCode extension auto-injects the open editor's content into context, it picks up the scratchpad and gets confused with my actual prompt — pretty annoying when it happens mid-conversation.
Would love a setting (ideally a toggle in the extension menu) to disable this auto-injection entirely.
Note: permissions.deny on the file path doesn't help — the injection happens at the extension layer before any tool fires, so it bypasses the permissions system.
Thanks!
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗