Code Snippet Picker - Visual Studio 2015 (original) (raw)

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

The Visual Studio Code Editor provides a Code Snippet Picker that allows you, in a few mouse clicks, to insert ready-made blocks of code into the active document.

The procedure to display the Code Snippet Picker varies according to the language you are using.

UIElement List

Item Name An editable text field that displays the name of the item selected in the Item List. To perform an incremental search for the item you want, begin typing its name in this field. Continue adding letters until the desired item is selected in the Item List.

Item List A list of code snippets available for insertion, or a list of folders containing code snippets. To insert a snippet or expand a folder, select the item you want and press Enter.

See Also

Best Practices for Using Code Snippets Visual Basic IntelliSense Code Snippets Setting Bookmarks in Code How to: Use Surround-with Code Snippets