Welcome to MSDN Blogs Sign in | Join | Help

How to map a Visual Studio macro to a keyboard shortcut?

The complete answer is here: http://msdn.microsoft.com/en-us/library/a0003t62.aspx

Excerpt:

  1. Choose Options on the Tools menu to display the Options dialog box.
  2. In the Environment folder, click Keyboard.
  3. In the Show commands containing box, type "macros." Once you do this, all commands beginning with the word "macros" appear in the commands list.
  4. Scroll down the list to your macro.
  5. 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.
  6. Click Assign and then click OK. Your macro is now bound to that keyboard shortcut.
kick it on DotNetKicks.com
Published Friday, May 02, 2008 10:29 AM by Kirill Osenkov
Filed under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# How to map a Visual Studio macro to a keyboard shortcut?

Friday, May 02, 2008 1:33 PM by DotNetKicks.com

You've been kicked (a good thing) - Trackback from DotNetKicks.com

# Team System Link Love - 9

Saturday, May 03, 2008 2:34 PM by .NETicated

Just checked the reports in FeedDemon, and I think it's only fair that if you haven't blogged

# Kirill's Visual Studio Tips

Tuesday, October 21, 2008 7:53 PM by Kirill Osenkov

I decided to compile a small list of Visual Studio features that I use a lot. Code Editor Code Snippets

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker