Thread: VS2003 Macros: Shortcut key bindings?

  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
    Ireland
    Posts
    8,446
    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.
    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, 04:42 PM
  4. FAQ: Directional Keys - Useing in Console
    By RoD in forum FAQ Board
    Replies: 38
    Last Post: 10-06-2002, 04:42 PM