Auto-context file chip (from autoIncludeOpenedFiles) no longer shown in input bar since v2.1.220

Status Open
Reported on v2.1.220
Maintainer reply None cached
Activity 1 comment · opened Jul 30, 2026

Title: Auto-context file chip (from autoIncludeOpenedFiles) no longer shown in input bar since v2.1.220

Description:

Since updating the Claude Code VS Code extension to v2.1.220, the automatic file-context chip that used to appear next to the + / / icons in the chat input bar — showing the name of the file currently opened/selected in the editor — no longer appears.

Expected behavior (confirmed working in v2.1.199, released 2026-07-02):
When a file is opened or a selection is made in the editor, a chip with the file name (e.g. README.md) is shown above/next to the input bar, confirming that this file's context is included automatically.

Actual behavior (v2.1.220, released 2026-07-25):
No chip appears for the auto-included open/focused file, even though the setting claudeCode.autoIncludeOpenedFiles is still set to true.

Steps to reproduce:

  1. Set "claudeCode.autoIncludeOpenedFiles": true in settings.json.
  2. Open any file in the editor / select some text.
  3. Observe the chat input bar area next to the + and / icons.
  • v2.1.199: file chip appears.
  • v2.1.220: no chip appears.

Environment:

  • OS: Windows 11 Pro 10.0.26200
  • Extension: anthropic.claude-code
  • Broken version: 2.1.220
  • Last known working version: 2.1.199

Why this matters:
The manual @-mention file picker still works fine and is a useful additive way to add context explicitly. However, the automatic focus/open-file indicator is a different and important mechanism: it gives immediate visual confirmation of which file's context is implicitly included based on editor focus, without requiring a manual @ action every time. Losing this makes it unclear whether the currently open/selected file is actually being included in context, which was a key part of the daily workflow.

Attachments:
Screenshot showing the working chip in v2.1.199 attached below — file icon + README.md shown directly next to the + and / icons in the input bar (paste with Ctrl+V into this issue).

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗