"Show Paste Options" not shown in Copilot Chat
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Describe the bug
With VSCodeVim enabled, pasting code into the Copilot Chat doesn't trigger the "Show Paste Options" experience.
To Reproduce
- Enable VSCodeVim.
- Open a source file. (I've tried Python, XML.)
- Copy a code snippet (3-5 lines) into the clipboard. It doesn't seem to matter how (mouse-select, then Ctrl-C / Cmd-C; or yank using
"*y). - Open Copilot chat ("Chat: Focus on Chat View").
- Paste the snippet into the chat.
- Expected behavior: A blue floating button appears at the bottom of the pasted text. It offers paste options (paste as inline text or as an attachment). See the screenshot below.
- Actual behavior: The "Show paste options" button does not appear.
- Disable VSCodeVim.
- Restart VSCode.
- Copy text again. (Don't use what's already in the clipboard.)
- Paste.
- This time the blue icon appears.
Screenshots
Environment (please complete the following information):
- Extension (VsCodeVim) version: 1.29.0
- VSCode version: 1.99.3
- OS: Windows 11
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the interaction between VSCodeVim 1.29.0, VS Code 1.99.3, and Copilot Chat using the steps in the issue on Windows 11. Trace the paste flow and determine why disabling VSCodeVim restores the button; done means the "Show paste options" button appears when pasting code with VSCodeVim enabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100