SnippetString$Typings extension

on

Properties

value String
The snippet string.
getter/setter pair

Methods

appendChoice(List<String> values, [num? number]) SnippetString
Builder-function that appends a choice (${1|a,b,c|}) to the {@linkcode SnippetString.value value} of this snippet string.
appendPlaceholder(Object value, [num? number]) SnippetString
Builder-function that appends a placeholder (${1:value}) to the {@linkcode SnippetString.value value} of this snippet string.
appendTabstop([num? number]) SnippetString
Builder-function that appends a tabstop ($1, $2 etc) to the {@linkcode SnippetString.value value} of this snippet string.
appendText(String string) SnippetString
Builder-function that appends the given string to the {@linkcode SnippetString.value value} of this snippet string.
appendVariable(String name, Object defaultValue) SnippetString
Builder-function that appends a variable (${VAR}) to the {@linkcode SnippetString.value value} of this snippet string.