Interface: SnippetScope
typings/snippet.SnippetScope
Properties
langIds
• Optional langIds: string[]
VSCode language ids where this snippet definition should be active
Defined in
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.