microsoft / VS-Macros

An extension for Visual Studio 2013+ that enables the use of macros in the IDE. The extension can record most of the features in Visual Studio including text editing operations.
Other
131 stars 41 forks source link

Unable to replay newly recorded macro #14

Closed hauswij closed 8 years ago

hauswij commented 8 years ago

When I try to create a macro, it says it can not save shortcut to- C:\Users\hauswij\AppData\Local\Microsoft\VisualStudio\14.0\Macros\Macros

I created this directory by hand and it then can save to this dir with a file name Current.js Next problem I ran into after this was trying to playback the macro. Nothing happens.

I have VS 2015 update 1.

justcla commented 8 years ago

Thanks for the feedback. Yes, your first comment is related to Issue #7. The Macros directories need to be initialized, and this occurs when the Macro Explorer is first opened. We are working on a fix for this.

As for replaying the Macro, I found that sometimes it works on the second attempt. Were you able to get it to play on the second (or third) attempt? Are you able to reliably reproduce this?

hauswij commented 8 years ago

I tried many times to replay the macro and never saw it run. I tried copying current.js from C:\Users\hauswij\AppData\Local\Microsoft\VisualStudio\14.0\Macros\Macros To C:\Users\hauswij\AppData\Local\Microsoft\VisualStudio\14.0\Macros Thinking maybe there was a bug that accidently created 2 macros dirs and it was supposed to be just one.

justcla commented 8 years ago

Thanks Jeff. Yes, we intend to create a Macros/Macros directory. It happens when the Macros Explorer is first opened. And that's where it will look for the Current.js.

Are you able to run any of the other macros? (ie. Insert Date)

justcla commented 8 years ago

Note: I'm renaming this issue.

hauswij commented 8 years ago

I just found the samples, I was able to run the ones I clicked on.

justcla commented 8 years ago

Fixed in version 1.2.0

hauswij commented 8 years ago

Works! Thanks for fixing it.

From: Justin Clareburt [mailto:notifications@github.com] Sent: Thursday, May 19, 2016 7:41 PM To: Microsoft/VS-Macros Cc: Jeff Hauswirth; Author Subject: Re: [Microsoft/VS-Macros] Unable to replay newly recorded macro (#14)

Closed #14https://github.com/Microsoft/VS-Macros/issues/14.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHubhttps://github.com/Microsoft/VS-Macros/issues/14#event-666601221

justcla commented 8 years ago

Excellent. Glad to hear. You're welcome. :-)