gencay / vscode-chatgpt

An unofficial Visual Studio Code - OpenAI ChatGPT integration
ISC License
3.5k stars 760 forks source link

Can't Copy-Paste #1

Closed miketweaver closed 1 year ago

miketweaver commented 1 year ago

Every time I try to copy-paste, it pastes nothing.

Code_Qorv3Oad6X

gencay commented 1 year ago

This is due to vs-code's Issue microsoft/vscode/issues/141080. There could be a workaround with a custom context menu to allow copy/paste.

ctrl+c should work fine.

gencay commented 1 year ago

@miketweaver I added 3 new buttons in the new UX. Please check it out, thanks for the suggestion :). I've got copy to clipboard, copy to open file and insert to a new file buttons above every code block that ChatGPT is suggesting in the conversation view now. Let me know if you like it!

image

StevenJokess commented 1 year ago

Does it only support to copy code, but not text? I used it to translate English to Chinese, then I found I can't copy. image

StevenJokess commented 1 year ago

I tested the code, and you are right. image