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.
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.
Keith Thorne commented
I had a number of macros for attaching to processes assigned to buttons, to debug all I had to do was click the button (or key). I have to do this over and over so what do I do now? I had also used them to plug gaps in features that eventually were made available but until then I had a way to automate. Please bring them back.
Igor Sapozhnikov commented
I tend to re-use some of the find and replace patterns. It would be nice to be able to save the Find and Replace dialog state for fast recall, or assign a keyboard shortcut to perform a specific find and replace operation quickly.
Simon Horridge commented
Why did you get rid of macros? not used very often, but very handy when you need to automate
i want it
I have used macros for a number of things over the years and am very disappointed they have been removed.
Claude Peloquin commented
While I would not use that frequently : when you need it : you need it. Please, bring this back.
Jörgen Sigvardsson commented
I really really really really really (x 10000) miss the ability to script the IDE. I had a bunch of small scripts that saved me tons of time, but now I can't use them anylonger. I'm not happy about having to write a fullblown extenions for these things. Just inserting a GUID shouldn't require me to write a full blown plugin.
Paolo Tedesco commented
Are there any updates on this? Is the half assed extension at https://visualstudiogallery.msdn.microsoft.com/d3fbf133-e51b-41a2-b86f-9560a96ff62b all that there's going to be? This was one of the most voted features...
I miss the macro option badly.
I rebuild fortran code to vb.net code
Not having a macro means many ours of extra work and tremendous more possibilaties for me to generate errors in the converson.
Wow, this still hasn't been put back in??
Amazing ignorance. Is it any wonder why Microsoft is loosing so many developers??
How do I quicly attach to a Windows Service without the macro feature? The macro feature is pretty much impossible to live without if all your programming is being done as Windows Services...
I now have to attach manually. It takes a few seconds give and take, but I might miss out important exceptions... my ugly work around is to delay the service thread for like 15 seconds to make sure I have attached the debugger.
A click on a macro is way easier than combined mouse and keyboard operations.
I basically thought the world was heading aginst simplicity and batching jobs... why o' why have you removed the macro feature?
Adam Stechschulte commented
In VS2010 I had a macro that would interact with currently open files (searching for specific text), then copy the currently open files to another location. It was very useful and saved me tons of time poking around the file system copying files.
Yes please. I don't use them very often but when I need to they are invaluable.
Don't over think it. Just make CTRL+SHFT+R and CTLR+SHFT+P work again, like good editors have been doing for decades.
This isn't a feature that needs the full Visual Studio treatment, it's just a core editor feature.
If you're not sure what that mean's just find a copy of CodeWright or SlickEdit from about 20 years ago, see what they do for keyboard macro recording, and do that.
I need the macros also. This is awful that a "world class" IDE cant maintain back compatibility to a feature that it admits "less than 1% use. How much less than 1%? Since they say it that way, it must be about 1%. All that is required is back compatibility. Extensions that only do the text are so simple as to be worthless.
I totally got confused when Ctrl+Shift+R didn't do anything. I thought my keyboard got broken or something. I'm totally missing the ability to record and playback a temporary macro within the code editor...
I need the macros!
Please bring back macros. Some jobs have become very lenghty without Macros.
Igor Prolis commented
In VS2010 I used a Macro to attach to a definite process, now in VS2013 I waste time to find the process and attach manualy. Please bring back Macros!
Jeff Relf commented
@ErikEJ, 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, to wit:
#3, I love having all my macros and extensions in a single text file, to wit:
#4, When assigning macros to toolbar buttons and key strokes,
you should see the -name- of the macro, not its number.
By the way, @Steve is right about the 1% creating 99% of the apps.
Microsoft doesn't measure that, but it should.