Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copying code does not work #62361

Closed
atirjavid opened this issue May 1, 2024 · 7 comments
Closed

Copying code does not work #62361

atirjavid opened this issue May 1, 2024 · 7 comments
Labels
team/code-search Issues owned by the code search team

Comments

@atirjavid
Copy link

atirjavid commented May 1, 2024

Copying the generated code does not work. The only thing that works is the copy button which copies the whole code. You can't CTRL+C or use mouse to copy, it doesn't work.

This is really a breaking bug. We can't get our work done, because it's just extremely difficult to almost impossible to copy any code out, unless you copy everything.

Hopefully this can be resolved quickly.

@varungandhi-src
Copy link
Contributor

Could you please attach a small video recording or similar or provide more details under what situations the operation doesn't work?

@varungandhi-src varungandhi-src added the team/code-search Issues owned by the code search team label May 2, 2024
@atirjavid
Copy link
Author

atirjavid commented May 2, 2024

Under any and all circumstances, you cannot copy generated code using mouse or keyboard. The only thing that works is the copy all code button, and that's it. This is a seriously severe bug and I being a paid customer, not being able to use the software, is a little annoying I'll be honest with you.

I mean, the one thing a person expects is the basic copy functionality. That doesn't even work. You highlight text, CTRL+C or mouse right click then click copy, it does not copy text into the clipboard. They keep asking me to explain myself instead of fixing the issue and that's even more frustrating.

I feel like I paid for a product that I cannot use, and that genuinely bugs me.

I'm using VSCode and the VSCode extension for Cody.

@hashborgir
Copy link

I confirm. Copying code does not work. Neither Ctrl+C, nor mouse context menu copy. The only thing that works is the copyAll button, which is not what we want most of the time.

@atirjavid
Copy link
Author

atirjavid commented May 2, 2024

YOU CANNOT COPY TEXT not with CTRL C or with mouse.

codynotworking1-2024-05-02_12.14.30.mp4

@sqs
Copy link
Member

sqs commented May 2, 2024

Definitely some weirdness going on here. Thank you for reporting it.

I can repro the issue on macOS when right-clicking on selected text in the chat response and choosing Copy. The text does not paste into the chat box; nothing gets inserted.

It works if I use Cmd+C to copy on macOS, although the report above is that even Ctrl+C fails on Windows.

CleanShot.2024-05-02.at.13.10.47.mp4

@sqs
Copy link
Member

sqs commented May 2, 2024

Appears to be caused by microsoft/vscode#141080 and affects all VS Code extensions.

For me, this is fixed in VS Code 1.89.0. The video above is from VS Code 1.88.0, where it is broken. @atirjavid @hashborgir can you please try upgrading to VS Code 1.89.0+ and see if that fixes the issue for you? Thank you!

@varungandhi-src
Copy link
Contributor

Closing this since it is due to an upstream bug

@varungandhi-src varungandhi-src closed this as not planned Won't fix, can't repro, duplicate, stale May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team/code-search Issues owned by the code search team
Projects
None yet
Development

No branches or pull requests

4 participants