{"version":"2.1.281","anchor":"ide-selection-is-returned-only-when-no-new-selection-exists","canonical_anchor":"ide-selection-is-returned-only-when-no-new-selection-exists","heading":"IDE selection is returned only when no new selection exists","tier":"notice","area":"IDE Integration","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281\/e\/ide-selection-is-returned-only-when-no-new-selection-exists","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281","markdown":"### IDE selection is returned only when no new selection exists\n\nA cancelled prompt no longer puts back an old IDE selection if you have already made a new one\n\n**What**\n\nWhen Claude Code is connected to your code editor (IDE), text you select there can be attached to your prompt. If you cancel the prompt, that selection is handed back. It is now handed back only if you have not already made a new text selection or diff selection. A specific selection can also be named when handing it back.\n\n**Why**\n\nCancelling a prompt no longer overwrites a fresh selection with an older one.\n\n- Area: IDE Integration\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5"}