How to map a Visual Studio macro to a keyboard shortcut?
The complete answer is here: https://msdn.microsoft.com/en-us/library/a0003t62.aspx
Excerpt:
- Choose Options on the Tools menu to display the Options dialog box.
- In the Environment folder, click Keyboard.
- In the Show commands containing box, type "macros." Once you do this, all commands beginning with the word "macros" appear in the commands list.
- Scroll down the list to your macro.
- Click the Press shortcut key(s) box type a key combination, such as CTRL+SHIFT+ALT+A. This will be the keyboard shortcut that executes the macro. You can use a different key sequence if you prefer.
- Click Assign and then click OK. Your macro is now bound to that keyboard shortcut.
Comments
Anonymous
May 02, 2008
You've been kicked (a good thing) - Trackback from DotNetKicks.comAnonymous
May 03, 2008
Just checked the reports in FeedDemon, and I think it's only fair that if you haven't bloggedAnonymous
October 21, 2008
I decided to compile a small list of Visual Studio features that I use a lot. Code Editor Code SnippetsAnonymous
December 23, 2018
This doesn't work with VS 2017. I have two macros but neither one shows up.