locked
insert snippet with a shortcut key RRS feed

  • Question

  • I write in VB.Net with VS2005. I would like to insert my code snippet with a single shortcut key.

    It's so inconvenient for me to insert a code snippet every time according to the following steps:

    1. right click on my VB codes
    2. click the "Insert Snippet..." menu item from the context menu
    3. find and select the folder of the snippet I would like to use
    4. find the snippet I would like to use from the selected folder

    The above 4 steps is too long to me. What I want is a single shortcut key for each insertion action. I considered to record a macro for this. However, I found out that I could not pop up the context menu for the "Insert Snippet..." menu item once I have started marco recording.

    How can I insert my code snippet in a faster way?
    Thursday, August 3, 2006 6:32 AM

Answers