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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.