Skip to main content

Interface: SnippetScope

typings/snippet.SnippetScope

Properties

langIds

Optional langIds: string[]

VSCode language ids where this snippet definition should be active

Defined in

typings/snippet.ts:8


scopeTypes

Optional scopeTypes: SimpleScopeTypeType[]

Cursorless scopes in which this snippet is active. Allows, for example, to have different snippets to define a function if you're in a class or at global scope.

Defined in

typings/snippet.ts:15