VSTextMacros icon indicating copy to clipboard operation
VSTextMacros copied to clipboard

Copy/paste does not work (again?)

Open ygoe opened this issue 5 years ago • 7 comments

I've seen several issues about this but they're all old and closed. Maybe this is a new cause?

Recording a sequence with Ctrl+C (or Ctrl+Ins) and Ctrl+V (or Shift+Ins) doesn't do the copy and/or paste on playback. This defeats a bit the use of macros that need to reuse other text in a line and apply the same operation on many lines.

Reverting to Notepad++ again.

ygoe avatar Oct 08 '20 13:10 ygoe

@ygoe Do you have the Productivity Power Tools extension installed?

xps avatar Oct 08 '20 13:10 xps

No. That's the all-in-one monster, right? I didn't like that. Rather pick the stuff I need.

ygoe avatar Oct 08 '20 13:10 ygoe

Oh, I forgot all the data. This is Visual Studio 2019 v16.7.5, extension version 1.15.

ygoe avatar Oct 08 '20 13:10 ygoe

@ygoe Nothing that would be used to copy formatted code from VS ? (Like "Copy to HTML") This has been known to break the recording of copy/paste operations.

In any case, copy/paste records and replays fine for me with version 1.15 on VS 2019 16.7.2.

If you want to troubleshoot, I would start by disabling all other extensions and see if that fixes it.

xps avatar Oct 09 '20 07:10 xps

No, I can't find any extensions that deal with the copy or paste function in the editor. Great, so I have to go the long route again. Well, let's see when I find the time for that.

ygoe avatar Oct 09 '20 09:10 ygoe

greetings kind regards attached please find GIF demonstrate use of clipboard failure . please note PPT "Copy as HTML" is installed but not enabled . thank you kindly Clipboard Failure

PaltryProgrammer avatar Sep 12 '23 06:09 PaltryProgrammer

Hi, and thank you for reporting this.

Unfortunately, I'm not sure why it's not working on your setup. It's definitely working on my Visual Studio 2022 with a few extensions installed. I can only guess that one of your extensions are interfering.

One thing you could do, to troubleshoot, is to disable all the extensions and test it again. If it works, then you can reenable half of the extensions and that way find by dichotomy which one is the problematic one.

I am sorry that I cannot help further.

xps avatar Oct 07 '23 13:10 xps