Macros for Visual Studio 2013

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:

Macros menu

Macro Explorer lists your own macros and preinstalled samples:

Macro Explorer

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:

Macro code

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.

 

Organize Visual Studio tabs with Tabs Studio add-in

This entry was posted in Reviews and tagged , . Bookmark the permalink.

2 Responses to Macros for Visual Studio 2013

  1. Anonymous says:

    Thank you! I’ve been missing this.

  2. Jeff Relf says:

    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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s