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 really liked the record and play macro functions in VS 2010, will that ever be added back?
MSVC 6.0 had a nice possibility to write editor macros using VB script. VS 2012 does not have this feature and I had to spend days to transform my macros into plugins, which are much more difficult to change than a simple VB script.
It seems, you do not know, what your customers like and need to work efficently.
Where are the keyboard macros gone? Recording and playing back keyboard actions are very important in formatting large chunks of text.
Going around the problem by using 3rd party solutions, such as Notepad++ is quite suboptimal.
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’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
Senior Program Manager
Visual Studio Extensibility Team
It would seem that the ball has once again been dropped on macro support. There have been no updates on the plugin. We have rolled back to VS2010. VS2017 is on the horizon and will stay there unless full macro support is reintegrated.
Really I don't care if the macros are in JS, VBS, or any scripting language.
Actually JS manes some sense as more development uses it, but the fact that VS2015 relies on some open source sub-standard plug-in which is considerably inferior to what they had decades previously says enough about MS.
This is what I'm talking about !! The title CLEARLY STATES:"Bring back Macros".
But noo....some person over at microsoft (probably some nine-to-five-with-kids types or a desperate-to-please H1B or a Google reject) sees this as a golden opportunity to polish his resume.
In he comes knowing nothing about the original macro feature. The original feature that could do so many things (eg. change the title bar's text etc. etc.), for him, is equal to this mere bagatelle he is forcing on us.
Devil is in the details...this can't be repeated enough times in today's society.
Excellent start! Now let me put them on my toolbar with a custom icon, and we'll finally be back to 2008 functionality! :)
So it took 4 years, 2 months to put back a less integrated form of what should never have gone missing. I feel underwhelmed.
Wow, looks like this idea hasn't been updated yet, but this has been completed!
Roy Tinker commented
In my opinion, a suitable macro language for Visual Studio would be:
- Low-ceremony: a viable script could be written on a single line
- Dynamic and interpreted
- An otherwise powerful general-purpose programming language with powerful abstractions
- Able to easily use .NET libraries
What about Lua? I think lua scripting in Visual Studio would be a very exciting announcement.
Jeff Relf commented
"George", Which "Text Macros for Visual Studio" are you using ?
Sergey Vlasov's "Visual Commander" or Cathy's “Macros for Visual Studio 2013” ?
My C# macros, to automate Visual Studio 2015: http://Jeff-Relf.Me/Macros.HTM
Totally agree with original post. Since macros were removed I ALWAYS install extension "Text Macros for Visual Studio".
Cathy Sullivan, please update the community as to when we can expect progress on this.
Five months we've been waiting.
Paolo Tedesco commented
Are the survey results available somewhere?
Is there something at all planned for VS2015?
Yes.. The macros do not save all the actions. Lets imagine that I want to save a macro than includes searching for an specific word, substituting it, etc... If I save the macro and execute it it wont repeat the action to search the next instance of the word, just the typing.
Macros aren't used often, but when you are creating or updating large volumes of code, they save HOURS and HOURS of tedious work.
Please bring back as a built in feature!
It's been nearly four months since the survey and still no indication of intent. I'm pretty certain that 100% of the surveys want macros back and I'm also pretty sure that most of them would like to see it open-sourced.
It's seeming more and more like the survey was a waste of time.
How many years, guys?
Jeff Relf commented
@DanKonigsbach called macros:
" an essential feature for a modern programming editor ".
However, that's been true ever since 1983, 33 years ago.
Word has macros, as does Excel.
My C# macros, to automate Visual Studio 2015:
Dan K commented
The Visual Studio Gallery extension *was* an intriguing first step towards something useful; a prototype, a chance to try out an idea and provide feedback.
The fact that there have been no updates since it was first released over a year ago, and the fact that (according to comments) it apparently doesn't work with Visual Studio 2015, suggests that was just a dump-and-run release, not something in which Microsoft is interested investing or improving.
It is not an adequate response to the over 5800 votes and 640 comments (to date) asking, begging, to restore an essential feature for a modern programming editor.
Mike Vasiljevs commented
It would be nice to have python `macros` instead of visual basic ones. But yes, some automation is needed.