Index

Modules

Functions

Enumerations

Interfaces

Type aliases

Events

Functions

getLanguages

  • getLanguages(): ILanguageExtensionPoint[]
  • Get the information of all the registered languages.

    Returns ILanguageExtensionPoint[]

register

registerCodeActionProvider

registerCodeLensProvider

registerCompletionItemProvider

registerDefinitionProvider

registerDocumentFormattingEditProvider

registerDocumentHighlightProvider

registerDocumentRangeFormattingEditProvider

registerDocumentSymbolProvider

registerHoverProvider

registerImplementationProvider

registerLinkProvider

registerOnTypeFormattingEditProvider

registerReferenceProvider

registerRenameProvider

registerSignatureHelpProvider

registerTypeDefinitionProvider

setLanguageConfiguration

setMonarchTokensProvider

setTokensProvider

Type aliases

CharacterPair

CharacterPair: [string, string]

A tuple of two characters, like a pair of opening and closing brackets.

Definition

Definition: Location | Location[]

The definition of a symbol represented as one or many locations. For most programming languages there is only one location at which a symbol is defined.

Events

onLanguage

  • onLanguage(languageId: string, callback: function): IDisposable
  • An event emitted when a language is first time needed (e.g. a model has it set).

    Parameters

    • languageId: string
    • callback: function
        • (): void
        • Returns void

    Returns IDisposable