Visual Studio Platform Team has released the Macros for Visual Studio 2013 extension for VS 2013 to record, edit and execute text editing commands and window operations. You can open the new Macro Explorer tool window from the Tools – Macros menu:
Macro Explorer lists your own macros and preinstalled samples:
Each macro consists of JavaScript code and stored in a .js file that you can edit in Visual Studio as usual. Access to Visual Studio automation model is provided using the familiar dte object:
You can run a macro double-clicking the name in Macro Explorer or assign a keyboard shortcut (for up to 9 macros).
(To react on Visual Studio events like document saving or reuse older VB macros you still need to use the Visual Commander extension. Visual Commander additionally allows you to write command code in C# and provides access to .NET framework.)
You can download Macros for Visual Studio 2013 here.
Thank you! I’ve been missing this.
Microsoft’s latest macro incarnation has serveral flaws:
#1, I need to assign more than 9 macros.
#2, It’s a poor rip-off of Visual Commander.
#32, I love having all my macros and extensions in a single text file, to wit:
http://Jeff-Relf.Me/Snippets.TXT
#4, When assigning macros to toolbar buttons and key strokes,
you should see the -name- of the macro, not its number.