Freigeben über


How to use Insert Snippet in Visual Studio 2005

Here are few tips on how to use the "Insert snippets" in Visual Studio 2005:

ShortCut Key CTRL+K, CTRL+X
- Place the cursor at the code editor where you want to insert the snippets.
- When you type these 2 shortcut keys, an intellisense will pop up.
- You select the name of your snippets
- press TAB, and the snippet will be inserted

Use Intellisense
- If you can remember the name of your snippets, just type in the name and press TAB TAB to invoke te snippets(twice)

Other methods
- Use Edit menu: Go to Edit > Intellisense > Insert Snippet
- Use context menu: right click at the code editor, select Insert Snippet