onLanguageEncountered( languageId: string, callback: () => void,): IDisposable
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.
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.