You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature] Universal Copy Buttons on Chat Bubbles in VS Code Extension #746
Add a quick "Copy" button to the end of both user prompt bubbles and AI response bubbles in the VS Code extension's chat panel.
Use Case
Developers frequently need to extract code snippets, terminal commands, or previous prompts from the chat. Manually highlighting text in a narrow VS Code sidebar webview is tedious and error-prone.
Proposed Solution
Inject a subtle clipboard icon at the bottom right of every message block in the messages-container. When clicked, it should copy the raw text/markdown to the clipboard and display a brief "Copied!" checkmark animation.
Alternatives Considered
Relying on native VS Code selection and keyboard shortcuts (Ctrl+C), but this provides poor UX in narrow sidebars.
Additional Context
I have searched existing issues to ensure this is not a duplicate
This feature aligns with the project's goals (local-first AI assistance)
Target Component: VS Code Extension (plugins/vscode/)
Implementation Notes (optional)
Folder Path:plugins/vscode/
UI: Add an absolutely positioned SVG icon to the message div during the DOM injection phase (likely within plugins/vscode/media/chat-panel.js).
Logic: Use the standard browser navigator.clipboard.writeText() API.
Contribution Guidelines
If you would like to work on this issue, please comment below to ask for assignment first.
Before opening a Pull Request, please briefly share your implementation plan in this thread so we can align on the approach!
Activity
arpan7sarkar commentedon Aug 3, 2026
@akramcodez assign me this issue am adding it 👍