VS2003 Macros: Shortcut key bindings?

This is a discussion on VS2003 Macros: Shortcut key bindings? within the A Brief History of Cprogramming.com forums, part of the Community Boards category; I've written a couple of macros for VS 2003. I figure it's about time and I've been meaning to do ...

  1. #1
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709

    VS2003 Macros: Shortcut key bindings?

    I've written a couple of macros for VS 2003. I figure it's about time and I've been meaning to do this for ages: Macros to insert comment blocks at the top of files and functions.

    Neat, but I was hoping to bind them to keyboard shortcuts. I can't find anything in the IDE on this - is it possible? How? HOW??
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  2. #2
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,654
    Tools Options -> Keyboard
    On Show Commands Containing, type in the whole or part of your macro command.
    Select the macro.
    Use Press Shortcut Key(s) for key combination assignment.
    Assign.
    From now on a large part of your life will be spent finding and correcting your own mistakes.
    And if you are lucky and land yourself a good job, a whole lot more time will be spent finding and correcting other people's mistakes.
    That has to be good, no?

    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  3. #3
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    Yay.

    Crtl+Alt+Shift+C then Ctrl+Alt+Shift U for function block.
    Ctrl+Alt+Shift+C then Ctrl+Alt+Shift F for file block.

    No I couldn't find anything better
    Last edited by cboard_member; 11-27-2006 at 11:41 AM.
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 16
    Last Post: 11-23-2007, 01:48 PM
  2. Virtual keys
    By Arkanos in forum Windows Programming
    Replies: 4
    Last Post: 12-12-2005, 10:00 AM
  3. Directional Keys - Useing in Console
    By RoD in forum C++ Programming
    Replies: 38
    Last Post: 10-06-2002, 05:42 PM
  4. FAQ: Directional Keys - Useing in Console
    By RoD in forum FAQ Board
    Replies: 38
    Last Post: 10-06-2002, 05:42 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21