macros icon indicating copy to clipboard operation
macros copied to clipboard

Feature request: macro recorder

Open JohnTasler opened this issue 8 years ago • 3 comments

One thing I really like about most macro-enabled editors is the ability to "record" my action into a temporary macros, and then play it back multiple times.

This would be a great feature for you macros extension.

JohnTasler avatar May 15 '17 02:05 JohnTasler

agreed! I'd be open to this as a community contribution, don't have time at the moment to add it myself.

geddski avatar May 15 '17 20:05 geddski

I think this will become possible as soon as the vscode.commands.onDidExecuteCommand API is added to the stable release. Then as soon as the user activates recording (for instance via a command) the extension can listen to this event and create the corresponding macros command. A drawback could be that this API will require the latest vscode version (probably ^1.38.0)

HaaLeo avatar Aug 10 '19 09:08 HaaLeo

Nevermind. Unfortunately the vscode.commands.onDidExecuteCommand API got rejected. See microsoft/vscode#78091

HaaLeo avatar Jan 13 '20 21:01 HaaLeo