06.54 Create New Code Snippets from Existing Ones

DEFAULT

Ctrl+K, Ctrl+B

VISUAL BASIC 6

Ctrl+K, Ctrl+B

VISUAL C# 2005

Ctrl+K, Ctrl+B

VISUAL C++ 2

[no shortcut]

VISUAL C++ 6

Ctrl+K, Ctrl+B

VISUAL STUDIO 6

Ctrl+K, Ctrl+B

WINDOWS

Alt,T, T

MENU

Tools | Code Snippets Manager

COMMAND

Tools.CodeSnippetsManager

VERSIONS

2005, 2008, 2010

CODE

vstipTool0016

When you use snippets, you often need to change the default values. Naturally, you can modify the values after the snippet is used. But what if you want to permanently change the value and make a new snippet out of it?

First, figure out which snippet you want to modify by finding it in the Code Snippets Manager (see vstipTool0015, 06.45 Using the Code Snippets Manager, in Appendix B [http://go.microsoft.com/FWLink/?Linkid=223758 ...

Get Coding Faster: Getting More Productive with Microsoft® Visual Studio® now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.