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

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.


You can try the Text Macros for Visual Studio 2012/2013/2015 extension (I am the author). It basically does the same thing as the Notepad++ macros (text editing, no UI automation).

The code is open source (GitHub), so feel free to contribute improvements :-)


In this version of Visual Studio, while there are literally hundreds of features, there are some we've actually taken out. One of those is the macros automation feature, including macro record/replay, macro projects and the Macros IDE. While we know that macros have been valuable for those who use them, unfortunately our usage data shows that less than 1% of Visual Studio developers take advantage of this feature. Therefore, we've found ourselves investing more deeply in the Visual Studio areas that get used every day, and have not updated macros for several releases.

Source: Macros in Visual Studio 11 Developer Preview

I have started to get around this (although inconvenient) by cutting/pasting into Notepad++, record and run the macro there and then cut/paste it back into Visual Studio 2012.


Stand out and vote for bringing macros back!

http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/2650757-bring-back-macros

UPDATE (10/4/2013):

Yay! Thank to your votes the macros are now considered for return! Keep pushing!

We are currently reviewing the feasibility of delivering a scripting capability in a future version of Visual Studio. Please continue to offer your comments on what scripting capability we should offer while we research this suggestion.

Tony Goodhew, Program Manager, VS Pro.

链接地址: http://www.djcxy.com/p/68024.html

上一篇: 分治算法的并行性

下一篇: 我可以在Visual Studio 2012/2013/2015中录制/播放宏吗?