Detach a session into a separate window

Open 💬 2 comments Opened Aug 14, 2026 by rocksoftvn
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What variant of Codex are you using?

IDE Extension

What feature would you like to see?

Feedback: Claude Code VS Code extension — code block UX

Bối cảnh người dùng

Vận hành một lab multi-AI với hai họ công cụ chạy song song trong VS Code:

  • Codex-family (Sol, Terra) — mỗi câu trả lời có sẵn dãy icon, gồm nút click-copy trên từng code block.
  • Claude-family (Opus, Fable qua extension Claude Code) — render kiểu terminal/CLI, không có dãy icon copy.

Luồng làm việc là relay thủ công giữa các agent, nên thao tác copy code lặp lại rất nhiều lần trong ngày. Việc thiếu nút copy làm mỗi lần phải bôi chọn + Cmd/Ctrl+C, chậm và dễ chọn hụt với snippet nhiều dòng.

Đề xuất 1 — Nút copy trên mỗi code block

Thêm click-to-copy cho code block trong panel chat của extension:

  • Icon copy hiện khi hover ở góc trên phải block, bấm để copy toàn bộ nội dung, kèm xác nhận "Copied" thoáng qua.
  • (Tùy chọn) Click bất kỳ đâu trong block để copy.

Đây đã là quy ước ở web app Claude.ai, GitHub, ChatGPT và hầu hết chat UI hiện đại render code. Hiện đã có feature request cộng đồng cho đúng việc này:

Nếu triển khai kèm một VS Code command riêng (ví dụ "Claude Code: Copy last code block"), người dùng còn rebind được phím tắt qua Keyboard Shortcuts editor.

Đề xuất 2 — Cân bằng tính năng chéo giữa hai công cụ

Quan sát từ việc dùng song song, mỗi bên mạnh một nửa và thiếu nửa kia:

  • Claude Code: cho tách session chat ra thành cửa sổ (window) riêng — rất tiện để theo dõi nhiều agent song song — nhưng thiếu dãy icon copy trên câu trả lời.
  • Codex: có dãy icon copy tiện lợi trên mỗi câu trả lời — nhưng chưa cho tách session ra thành cửa sổ riêng.

Đề nghị: Claude Code bổ sung dãy icon (bắt đầu từ nút copy) để có cả hai thế mạnh — vừa multi-window, vừa copy nhanh.

Ưu tiên (góc nhìn người dùng)

Thấp về độ phức tạp kỹ thuật, cao về tần suất chạm phải: thao tác copy diễn ra hàng chục lần mỗi ngày trong luồng relay nhiều agent, nên một nút copy tiết kiệm ma sát đáng kể mỗi phiên.

Additional information

_No response_

View original on GitHub ↗

2 Comments

github-actions[bot] contributor · 14 days ago

English translation:

What variant of Codex are you using?

IDE Extension

What feature would you like to see?

Feedback: Claude Code VS Code extension — code block UX

User context

Running a multi-AI lab with two tool families operating side by side in VS Code:

  • Codex-family (Sol, Terra) — each response has a row of icons, including a click-to-copy button on every code block.
  • Claude-family (Opus, Fable via the Claude Code extension) — renders in a terminal/CLI style and does not have a row of copy icons.

The workflow involves manually relaying information between agents, so copying code is repeated many times throughout the day. Without a copy button, each time requires selecting the text and pressing Cmd/Ctrl+C, which is slow and makes it easy to miss part of a multiline snippet.

Proposal 1 — Copy button on every code block

Add click-to-copy functionality to code blocks in the extension's chat panel:

  • Show a copy icon on hover in the upper-right corner of the block; clicking it copies the entire contents and briefly displays a "Copied" confirmation.
  • (Optional) Click anywhere in the block to copy it.

This is already standard behavior in the Claude.ai web app, GitHub, ChatGPT, and most modern chat UIs that render code. There is already a community feature request for exactly this:

If implemented together with a dedicated VS Code command (for example, "Claude Code: Copy last code block"), users could also rebind the keyboard shortcut through the Keyboard Shortcuts editor.

Proposal 2 — Balance features across the two tools

From using them side by side, each tool has one strength but lacks the other's:

  • Claude Code: allows chat sessions to be detached into separate windows — very convenient for monitoring multiple agents in parallel — but lacks a row of copy icons on responses.
  • Codex: has a convenient row of copy icons on every response — but does not yet allow sessions to be detached into separate windows.

Suggestion: Claude Code should add the row of icons (starting with the copy button) so it offers both advantages — multi-window support and quick copying.

Priority (user perspective)

Low in technical complexity, high in frequency of use: copying happens dozens of times each day in a multi-agent relay workflow, so a copy button would significantly reduce friction in every session.

Additional information

_No response_

<!-- codex-issue-translator -->

github-actions[bot] contributor · 14 days ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #37108

Powered by Codex Action