geddski / macros

macros support for VS Code
MIT License
165 stars 36 forks source link

Feature request: macro recorder #12

Open JohnTasler opened 7 years ago

JohnTasler commented 7 years ago

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.

geddski commented 7 years ago

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

HaaLeo commented 4 years ago

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 commented 4 years ago

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