PlainSnippet

Members

Functions

buildSnippet
Snippet buildSnippet(string provider)

Creates a resolved snippet based on this plain snippet, filling in plain if neccessary. This drops the levels value.

Variables

documentation
string documentation;

Markdown documentation for this snippet

levels
SnippetLevel[] levels;

Grammar scopes in which to complete this snippet

plain
string plain;

Plain text to insert assuming global level indentation. Optional if snippet is a simple string only using plain variables and snippet locations.

shortcut
string shortcut;

Shortcut to type for this snippet

snippet
string snippet;

Text with interactive snippet locations to insert assuming global indentation.

title
string title;

Label for this snippet.

unformatted
bool unformatted;

true if this snippet shouldn't be formatted before inserting.

Meta