Snippets panel

In the Snippets panel, you can add, delete, modify, and organize code snippets. Just like with other panels, you can move it and dock it wherever you like.

The Snapshot panel

Snippets Panel

Hh314581.edef891a-6b74-4192-8f7f-5079614b9112(en-us,Expression.40).png

You can use the Filter field to display a short list of snippets that have similar names.

Hh314581.957413f8-28e0-4dc7-a144-0598679350b9(en-us,Expression.40).png

You can use custom folders to help organize your snippets.

Hh314581.13f14333-cc5f-457a-863b-ccd449500941(en-us,Expression.40).png

Snippets marked with this icon (w4_icon_snippet_wrap) insert code before and after the text you've selected.

Hh314581.0a66dad8-587c-4ccb-86ee-5e9cd1ef8c68(en-us,Expression.40).png

Snippets marked with this icon (w4_icon_snippet_insert) insert code where the cursor is located, replacing any text you've selected.

Hh314581.9c26150c-cd15-44bb-bf69-ff72093d3d71(en-us,Expression.40).png

The Options drop-down menu lets you add, delete, modify, and organize your code snippets.

For more information about organizing code snippets, see Create or modify a code snippet.

See also

Tasks

Create or modify a code snippet

Other resources

Using code snippets

Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.