Search code examples
visual-studio-2015visual-studio-2013visual-studio-2017macrosvisual-studio-2019

Can I record/play macros in Visual Studio 2012/2013/2015/2017/2019?


Apparently macros were dropped from Visual Studio 2012.

Is there a plugin/extension/tool that will let me record & play keyboard macros (much like the record/play temporary macro in Visual Studio 2010)?

For example, I typically would use a macro when converting code from one language to another or to quickly generate properties from a text list, etc.


Solution

  • MACROS ARE BACK!

    Under Review → Completed

    We’ve heard your feedback loud and clear, and we’ve been working on a solution. We’re therefore very happy to announce that we’ve now released a version of Macros that supports both Visual Studio 2015 and Visual Studio 2013.

    While we were at it, we took the opportunity to fix a couple of bugs and improved the keyboard shortcuts. We hope you enjoy it.

    For more information, see the blog post here: http://aka.ms/vsmacros

    We’ve also open-sourced the code under the MIT license. If you have any suggestions or contributions, feel free to create an issue or a pull request in the new GitHub repo: http://github.com/Microsoft/VS-Macros

    Justin Clareburt Senior Program Manager

    Macros for Visual Studio

    Macros for Visual Studio is an extension for Visual Studio 2013 and Visual Studio 2015 that enables the use of macros to automate repetitive tasks in the IDE. The extension can record most of the commands in Visual Studio including text editing operations. Features

    • Record and playback active document operations and Visual Studio IDE commands
    • Playback multiple times
    • Manage and persist macros with a Macro Explorer
    • Assign keyboard bindings to any macro
    • Macros recorded as JavaScript files that call VS DTE APIs
    • Macro editing in Visual Studio with DTE IntelliSense
    • Stop playback
    • Sample macros

    enter image description here