Microsoft.VisualStudio.Language.Snippets Namespace

Classes

SnippetBroker

A service that starts Snippet sessions for an ITextView.

Snippet sessions allow the user to update multiple linked fields simultaneously and use Tab to navigate to the spans in the snippet that can be updated. A snippet session will end after navigating past the last field or making any buffer edits outside the active field.

This is a MEF component part, and should be imported as follows: [Import] SnippetBroker snippetBroker = null;

SnippetDefinition

Class that defines the fields of a snippet.

SnippetOptions

Defines the options for a SnippetDefinition

Structs

SnippetField

Represents a primary field or tabstop of a snippet

SnippetLinkedField

Represents a linked field whose contents depend on a SnippetField