• An event emitted when a language is associated for the first time with a text model or when a language is encountered during the tokenization of another language.

    Parameters

    • languageId: string
    • callback: (() => void)
        • (): void
        • Returns void

    Returns IDisposable