Follow Discord
Sweep 25 Sep 2026 · 19:33Z Build v2.1.283 504 read Stable v2.1.274 Latest v2.1.283 Next v2.1.283 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.280 ·

IDE selection is now restored when a prompt is handed back or resubmitted

Claude Code now remembers and restores your IDE text selection tied to a specific prompt

Group of 2 You'll notice Improvements
JSON All of v2.1.280
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
IDE IntegrationArea: what it touches
ImprovementsKind: in v2.1.280,
ImprovementsSection of the release

What

The composer now has consumeIdeSelection and restoreIdeSelectionConsumedBy, which capture the current IDE selection at the moment a prompt is sent and can put that selection back if that same prompt is later restored, for example via undo or edit-and-resubmit. This restoration is also wired into the rate-limit prompt hand-back flow (where a prefilled prompt is handed back to the user) through a new onPromptHandedBack callback.

Why

Before this, a prompt tied to a specific piece of selected code in your editor could lose that connection once the prompt was handed back or resubmitted, forcing you to reselect it. Now the original selection reappears along with the prompt.

See this entry in the whole of v2.1.280 →

Feedback