[FEATURE] Broadcast selection_changed to all active CLI sessions in VSCode

Resolved 💬 3 comments Opened Feb 22, 2026 by sam30606 Closed Mar 22, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

When running multiple Claude Code CLI sessions in VSCode terminals simultaneously (e.g., one for implementation, another for reviewing related code), only one session receives the IDE selection context. The other sessions cannot see what code is currently selected in the editor.

This means I have to manually type file paths and line numbers in the other sessions instead of just selecting code and referencing it, which defeats the purpose of IDE integration when working with parallel sessions.

Proposed Solution

When I select code in the VSCode editor, all active Claude Code CLI sessions in that window should receive the selection context, not just one. The behavior should be identical across sessions — each session sees the same selected text, file path, and line range.

No new UI or commands needed. It should just work the same way it already does for a single session, but for all of them.

Alternative Solutions

_No response_

Priority

Medium - Would be very helpful

Feature Category

Other

Use Case Example

_No response_

Additional Context

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗