SnippetString$Typings extension

on

Properties

value String

Available on SnippetString, provided by the SnippetString$Typings extension

The snippet string.
getter/setter pair

Methods

appendChoice(List<String> values, [num? number]) SnippetString

Available on SnippetString, provided by the SnippetString$Typings extension

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

Available on SnippetString, provided by the SnippetString$Typings extension

Builder-function that appends a placeholder (${1:value}) to the {@linkcode SnippetString.value value} of this snippet string.
appendTabstop([num? number]) SnippetString

Available on SnippetString, provided by the SnippetString$Typings extension

Builder-function that appends a tabstop ($1, $2 etc) to the {@linkcode SnippetString.value value} of this snippet string.
appendText(String string) SnippetString

Available on SnippetString, provided by the SnippetString$Typings extension

Builder-function that appends the given string to the {@linkcode SnippetString.value value} of this snippet string.
appendVariable(String name, Object defaultValue) SnippetString

Available on SnippetString, provided by the SnippetString$Typings extension

Builder-function that appends a variable (${VAR}) to the {@linkcode SnippetString.value value} of this snippet string.