Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.271 ·

IDE file/selection status now shown as a dismissible pill inside the prompt input

The connected editor's current file/selection now appears as a dismissible pill inside the prompt box instead of a separate sidebar

TierYou'll noticehow much it should matter to you
Useful2my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaIDE Integrationwhat it touches
KindImprovementsin v2.1.271,
Group of 5 You'll notice

The connected editor's current file/selection now appears as a dismissible pill inside the prompt box instead of a separate sidebar

What

  • The prompt input now shows IDE-selection status (the current file/selection from a connected editor) as a leadingPill embedded at the start of the input text, replacing the old separate sidebar box.
  • The pill can be dismissed: a new dismissIdeSelection handler is wired to the pill's delete action, and a hash of the last-dismissed selection is tracked so the same selection doesn't reappear right after being dismissed.
  • The underlying text input component gained a leadingPill prop, rendered before the main text with its own highlight color and correctly offsetting cursor position and highlight ranges.
  • The text-editing logic (kill/yank, backspace, delete, Home/End, Enter) was reworked to treat this leading content as a protected prefix: backspace at the prefix boundary calls the pill's delete callback instead of erasing into it.

Why

This keeps the current file/selection context visible directly in the prompt instead of in a separate box, while preventing it from being accidentally deleted or re-shown right after being dismissed.

See this entry in the whole of v2.1.271 →