Skip to content

LanguageServiceDefaults

原文链接

https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.html.LanguageServiceDefaults.html

ts
interface LanguageServiceDefaults {
    languageId: string;
    modeConfiguration: languages.html.ModeConfiguration;
    onDidChange: IEvent<languages.html.LanguageServiceDefaults>;
    options: languages.html.Options;
    setModeConfiguration(modeConfiguration): void;
    setOptions(options): void;
}

languageId

  • 类型:string

modeConfiguration

onDidChange

options

setModeConfiguration

setOptions