cline icon indicating copy to clipboard operation
cline copied to clipboard

Pasting text using keyboard shortcut doesn't work

Open orangejon opened this issue 11 months ago • 2 comments

What happened?

When I press Cmd+V with the cursor in the Cline chat box, the text gets pasted into the Terminal instead. Needless to say, this is very annoying, as it's something I need to do frequently! And if the pasted content includes Terminal commands, the results can be pretty bad...

(Pasting using Edit -> Paste from menu bar works correctly)

Steps to reproduce

  1. Open Cline in Vscode with Terminal open
  2. Cmd+V or right-click on the Cline chat box and click "Paste"
  3. Your text is pasted into the Terminal

Relevant API REQUEST output


Operating System

MacOS 15.2

Cline Version

3.1.11

Additional context

No response

orangejon avatar Jan 20 '25 14:01 orangejon

This is an issue with VSCode itself. Clicking into Cline's interface after clicking VSCode should allow you to paste into VSCode. We will look into this to see if there is a work-around we can implement.

dcbartlett avatar Jan 20 '25 23:01 dcbartlett

Facing the same problem here on Cline v3.8.3 and VS Code 1.98.2 on Windows. Hope there will be a permanent fix soon.

G-bit94 avatar Mar 27 '25 22:03 G-bit94

Thanks for reporting! This has been consolidated into the master terminal issue #4356 which comprehensively addresses terminal focus and keyboard shortcut integration problems.

celestial-vault avatar Jun 22 '25 21:06 celestial-vault