Bring back Macros
I am amazed you've decided to remove Macros from Visual Studio. Not only are they useful for general programming, but they're a great way to be introduced to the Visual Studio APIs.
If you are unwilling to put in the development time towards them, please release the source code and let the community maintain it as an extension.
I would like to execute a macro after I press F5. IE:
Enter username/password in a LoginForm
A messageForm displays.
Press the Ok Button.
The MainMenu Form displays.
Change the value of a ComboBox
Click on an item in a ListView Control
This wil load the form i'm currently working on and stop the debuuger on a breakpoint.
I heard only 1% of folks use this feature therefore it was cut from VS 2012. I really need a way to automate things inside the IDE such as creating files. Writing an extension to do this is way too much work. It would take a very long time to payback the dev hours needed to code up an extension. Keep in mind that 1% is only the 1% of folks that chose to opt into having their usage tracked.
Last week I tried to use Macros and I noticed that feature was cutted out from VS11 Beta. So I have to do it through Notepad++ and finally copy the code into VS11.
Hello Macros Supporters,
I wanted to share an extension that the Visual Studio team released on the Visual Studio Gallery that you may not have seen that brings back some of the macros support that you might be missing.
Download and try it via:
1. The Visual Studio Gallery: https://visualstudiogallery.msdn.microsoft.com/d3fbf133-e51b-41a2-b86f-9560a96ff62b
2. Or get it in Visual Studio via: Tools > Extensions and Updates… then search for “Macros for Visual Studio 2013”
If you find this extension useful or have suggestions/ideas on how we could improve it, please leave comments on the Gallery page (under the Reviews section).
Visual Studio IDE Team
Thanks for the info about VSMacros but please update it to support VS2015
Richard Turner commented
Great to see you're working on this, but no love for VS2015????
thanks for bringing this back - i'm gonna be so productive again!
a programmer commented
Thanks for the information ... but ...
What's about VS 2015?
Does this tool work with no problems together with other tools like ReSharper?
BRING MACROS BACK!!!
Vishal B commented
Is this still under review after more than 3 years?
The macros as they were in VS2010 were perfect, so you could program simple extensions.
All the old macros stopped working in VS2012 when it was removed.
Therefor we keep a VS2010 copy to run the macros, since migrating the macros to a VS Plug-In seems to be to complicated/time-consuming.
Removing features like this after supporting them for so many
years begs the question: does Microsoft intend to remove any
more features in future versions of Visual Studio?
Suddenly the VS platform doesn't seem so attractive any more...
a programmer commented
You should implement an EASY solution, nothing which is, typically for Microsoft, much too complex and complicated.
In my former programmer's editor you press Ctrl-M, make some edits, and press Ctrl-M. A macro has been recorded and is replayed each time I press Alt-L. It's not necessary to go throug some Dialogs for this, and all can be done with the keyboard. Absolutey great.
I keep a version of VS 2010 also, just so I can go use this function to modify/edit code. I (and others) sometimes wonder how smart the Microsoft people really are... I guess that's why apple and android are doing so well
>> I don't believe only 1% of users use macros.
Agreed. Probably the few people who leave "usage reporting" feature on are the ones who don't use macros.
Kevin Hall commented
I really enjoyed having the ability to spawn off command line programs and processing the text. This came in very useful for launching certain analysis programs with just a keyboard shortcut and having the output display in one of the output windows.
We typically use this feature prior to code reviews in order to count lines and pre-process certain rule sets before sending the code to others. The feature was used by some individual developers to help launch external python-driven scripts too.
I don't believe only 1% of users use macros. Are MS sure that the reporting on the usage is actually working? I've not met a programmer yet that doesn't use them. Bring them back MS, I can't move from 2010 until you do.
I keep a 2010 version of VS around, just so I can go use this function to modify/edit code
Can't believe you thought no-one would mind them being removed in the first place! As essential component for code editing. Massive thanks to Xavier Poinas for the 3rd party plug-in.
Macros might make up 1% of my usage of visual studio, but it replaces 30% of my repetitive tasks.
Kevin Flanagan commented
This. Record an editing operation, play it back as many times as you like. Simple, quick, incredibly useful. Totally needs bringing back.
Rather than create macros yourself, it may be a good idea to use some VS nice extensions. Visual Smarter is one and free:
Andrzej Włoszczyński commented
Decisions made based on statistics (telemetry) are often stupid. I'm 50 years old and I have never used airbag in my car. Does that mean that airbags should be removed from all cars? Please add Ctrl-Shift-R / Ctrl-Shift-P (record/play macro) functionality.