{"id":13340482,"url":"https://github.com/xps/VSTextMacros","last_synced_at":"2025-03-11T17:31:19.462Z","repository":{"id":5430506,"uuid":"6622750","full_name":"xps/VSTextMacros","owner":"xps","description":"An extension for Visual Studio 2012-2022 that brings back support for macros in text/code editors","archived":false,"fork":false,"pushed_at":"2023-06-29T06:46:36.000Z","size":2012,"stargazers_count":69,"open_issues_count":6,"forks_count":20,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-10-24T04:29:17.105Z","etag":null,"topics":["extension","visual-studio"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=XavierPoinas.TextMacrosforVisualStudio201220132015","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xps.png","metadata":{"files":{"readme":"ReadMe.md","changelog":null,"contributing":null,"funding":null,"license":"License.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-11-10T00:38:18.000Z","updated_at":"2024-07-24T15:35:15.000Z","dependencies_parsed_at":"2024-10-24T00:13:02.089Z","dependency_job_id":"865558eb-c271-4f14-ac16-d7b31a603715","html_url":"https://github.com/xps/VSTextMacros","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xps%2FVSTextMacros","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xps%2FVSTextMacros/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xps%2FVSTextMacros/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xps%2FVSTextMacros/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xps","download_url":"https://codeload.github.com/xps/VSTextMacros/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243079087,"owners_count":20232928,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["extension","visual-studio"],"created_at":"2024-07-29T19:23:00.746Z","updated_at":"2025-03-11T17:31:19.456Z","avatar_url":"https://github.com/xps.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"**THE CURRENT VERSION WORKS WITH VISUAL STUDIO 2019-2022**\n\nFor Visual Studio 2012 to 2017, please download and install this version:\nhttps://github.com/xps/VSTextMacros/releases/download/1.12/VSTextMacros-1.12.vsix\n\n\nWhat is it?\n===============================\n\nAn extension for Visual Studio 2012-2017 that brings back support for macros in text/code editors. These macros can be used to automate repetitive text editing tasks.\n\nYou may have used such macros in previous versions of Visual Studio. Indeed, macros used to be supported and [removed][5] in Visual Studio 2010.\n\nAlthough 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.\n\nAnd if you have not used Visual Studio macros before, you may have used them in other text editors such as [Notepad++][1] or [Sublime Text][6]. If you have, then you already know how to use this extension.\n\n\nDownload\n===============================\n\nYou can download the VSIX installer from the [Visual Studio Marketplace][4].\n\n\nHow does it work?\n===============================\n\nAfter installing this extension, you will find a menu called `Text Macros` in the `Tools` menu.\nIt will only be visible when there is an active text or code editor.\nIt has 5 submenus: one that toggles the recording of a macro (Start/stop recording macro), one that replays the last recorded macro (Playback macro), one that can repeat the macro any given number of times, one that saves the current macro for future use, and one that opens the directory where macros are saved in the explorer.\n\n ![Screenshot][2]\n\nSo the idea is that you start recording, make some edits, stop recording, and then replay the edits.  \nFor example, here's what you would do if you just copied a few signatures from an interface that you have to implement:\n\n ![Demo][3]\n\nYou can change the shortcuts associated with the macro menus in Tools \u003e Options \u003e Environment \u003e Keyboard.  \nLook for the following commands:\n\n - Tools.RecordMacro\n - Tools.PlaybackMacro\n - Tools.PlaybackMacroMultipleTimes\n - Tools.SaveMacro\n - Tools.OpenSavedMacros\n - Tools.RunSavedMacro1\n - Tools.RunSavedMacro2\n - ...\n\n\nWhat can be recorded?\n===============================\n\nOnly text editing features can be recorded, so you cannot use this extension to automate work in, say, a Windows Forms editor.\n\nCurrently, here are the commands that can be recorded:\n\n - Cursor movements\n - Characters that you type\n - Tabs, new lines, deletions\n - Find operations (Find Next...)\n - Some text editing commands from the Edit menu (to lowercase, to uppercase...)\n \n**Known limitations:**\n\n - Recording copy/paste operations does not work well when the Productivity Power Tools extension is installed (more details [here][12])\n \n \nChange Log\n===============================\n\n**1.18 - Jun 28, 2023**\n - Support for arm64\n - Support for up to 9 macros with keyboard bindings\n \n**1.17 - Mar 31, 2022**\n - Support for Visual Studio 2022\n\n**1.16 - Apr 17, 2021**\n - Support for loading extra recordable commands from an external file (thanks to [gregtbrown][14])\n - Added \"Duplicate\" to recordable commands\n - Added a menu item to open the macros directory in Explorer\n\t\n**1.15 - Aug 22, 2020**\n - Support for Find operations (thanks to [viniciusvillas][13])\n - Added macro names in playback menu\n - Automatically stop recording on playback\n\n**1.14 - Nov 10, 2019**\n - Fixed reordering macros\n\n**1.13 - Sep 30, 2019**\n - Support for Visual Studio 2019 (thanks to [viniciusvillas][13])\n\n**1.12 - Dec 10, 2018**\n - New recorded commands: \"Go to brace\" and outlining commands\n\n**1.11 - Aug 15, 2018**\n - Added shortcuts to run saved macros\n \n**1.10 - Apr 23, 2017**\n - Support for Visual Studio 2017\n - Playback macros in a single undo transaction (thanks to [Yves Goergen][11])\n\n**1.9 - May 17, 2016**\n\n - Fixed saving macros (thanks to [Hung Dinh][9])\n\n**1.8 - May 5, 2016**\n\n - Added option to save macros\n\n**1.7 - Aug 8, 2015**\n\n - Fixed support for VS 2012/2013\n\n**1.6 - Jul 21, 2015**\n\n - Support for Visual Studio 2015 (thanks to [Ian Prest][8])\n\n**1.5 - Jul 8, 2014**\n\n - Added \"Edit.LineFirstColumn\" as a recordable command (thanks to [Jose Jiminiz][7]).\n\n**1.4 - Dec 7, 2013**\n\n - Added menu to repeat macro a given number of times.\n\n**1.3 - Nov 28, 2013**\n\n - Fixed macros not working in certain file types (HTML...)\n - Recording additional edit commands: Format Document/Selection, Comment/Uncomment Selection,\n   Delete Horizontal White Space, Increase/Decrease Line Indent, Organize Usings, Move Selected Lines Up/Down (VS 2013).\n\n**1.2 - Oct 24, 2013**\n\n - Support for Visual Studio 2013\n - Added 'Ctrl+Shift+R' shortcut to match shortcut of previous Visual Studio versions\n\n**1.1 - Feb 8, 2013**\n\n - Added visual cue while recording\n - Current macro now persists across sessions\n\n**1.0 - Nov 13, 2012**\n\n - Initial version\n\n\nWant to contribute?\n===============================\n\n - Let me know of any issues you may find (include a portion of text and keystroke sequence if it is a problem with a macro)\n - Fork the code and contribute bug fixes or new features\n\n\nLicense\n===============================\n\nText Macros for Visual Studio\nCopyright (C) 2012-2023 Xavier Poinas\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see \u003chttp://www.gnu.org/licenses/\u003e.\n\n [1]: http://notepad-plus-plus.org\n [2]: https://raw.github.com/xps/VSTextMacros/master/Documentation/screenshot.png\n [3]: https://github.com/xps/VSTextMacros/raw/master/Documentation/example.gif\n [4]: https://marketplace.visualstudio.com/items?itemName=XavierPoinas.TextMacrosforVisualStudio201220132015\n [5]: http://social.msdn.microsoft.com/Forums/en-US/vsx/thread/d8410838-085b-4647-8c42-e31b669c9f11\n [6]: http://sublimetext.info/docs/en/extensibility/macros.html\n [7]: https://github.com/JoseJimeniz\n [8]: https://github.com/ijprest\n [9]: https://github.com/nhdinh\n [10]: https://github.com/xps/VSTextMacros/issues/1 \n [11]: https://github.com/ygoe\n [12]: https://github.com/xps/VSTextMacros/issues/14\n [13]: https://github.com/viniciusvillas\n [14]: https://github.com/gregtbrown\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxps%2FVSTextMacros","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxps%2FVSTextMacros","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxps%2FVSTextMacros/lists"}