THE CURRENT VERSION WORKS WITH VISUAL STUDIO 2019
For Visual Studio 2012 to 2017, please download and install this version: https://github.com/xps/VSTextMacros/releases/download/1.12/VSTextMacros-1.12.vsix
What is it?
An extension for Visual Studio 2012-2019 that brings back support for macros in text/code editors. These macros can be used to automate repetitive text editing tasks.
You may have used such macros in previous versions of Visual Studio. Indeed, macros used to be supported and removed in Visual Studio 2010.
Although macros used to be very sophisticated at the time, letting you control almost any feature of Visual Studio, this extension only aims at supporting the text editing part of macros.
How does it work?
After installing this extension, you will find a menu called
So the idea is that you start recording, make some edits, stop recording, and then replay the edits.
You can change the shortcuts associated with the macro menus in Tools > Options > Environment > Keyboard.
What can be recorded?
Only text editing features can be recorded, so you cannot use this extension to automate work in, say, a Windows Forms editor.
Currently, here are the commands that can be recorded:
1.13 - Sep 30, 2019
1.12 - Dec 10, 2018
1.11 - Aug 15, 2018
1.10 - Apr 23, 2017
1.9 - May 17, 2016
1.8 - May 5, 2016
1.7 - Aug 8, 2015
1.6 - Jul 21, 2015
1.5 - Jul 8, 2014
1.4 - Dec 7, 2013
1.3 - Nov 28, 2013
1.2 - Oct 24, 2013
1.1 - Feb 8, 2013
1.0 - Nov 13, 2012
Want to contribute?
Text Macros for Visual Studio Copyright (C) 2012-2019 Xavier Poinas
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.