xps / VSTextMacros

An extension for Visual Studio 2012-2022 that brings back support for macros in text/code editors
https://marketplace.visualstudio.com/items?itemName=XavierPoinas.TextMacrosforVisualStudio201220132015
Other
69 stars 20 forks source link

Macros don't record clippboard Copy operations #21

Closed maadlog closed 7 years ago

maadlog commented 7 years ago

Given two lines: foobar bazbar recording a macro that selects the first 3 characters and copies them at the end of the string, yields the following result in the first line: foobar -> foobarfoo

Replaying it in the second line should yield "bazbarbaz", instead it yields the following: bazbar -> bazbarfoo

Apparently, it records the Ctrl+V Paste actions, but ignores the Ctrl+C Copy

Cheers!

EDIT: Workspace is VS2013 Update 5

ygoe commented 7 years ago

Works for me in VS 2015. Both variants, Ctrl+C/Ctrl+V and Ctrl+Ins/Shift+Ins are recorded and played back properly.

xps commented 7 years ago

It is probably a problem with the Productivity Power Tools extension, see this issue for more info. I'll close as a duplicate, feel free to reopen if you have a different issue.

I also updated the readme to mention this.