Interface: SnippetDefinition
typings/snippet.SnippetDefinition
Properties
body
• body: SnippetBody
Inline snippet text using VSCode snippet syntax; entries joined by newline.
Named variables of the form $foo
can be used as placeholders
Defined in
typings/snippet.ts:25
scope
• Optional
scope: SnippetScope
Scopes where this snippet is active
Defined in
typings/snippet.ts:30
variables
• Optional
variables: Record
<string
, SnippetVariable
>
Scope-specific overrides for the variables defined in the snippet
Defined in
typings/snippet.ts:35