LanguageServiceDefaults
ts
interface LanguageServiceDefaults {
diagnosticsOptions: languages.json.DiagnosticsOptions;
languageId: string;
modeConfiguration: languages.json.ModeConfiguration;
onDidChange: IEvent<languages.json.LanguageServiceDefaults>;
setDiagnosticsOptions(options): void;
setModeConfiguration(modeConfiguration): void;
}
diagnosticsOptions
languageId
- 类型:
string
modeConfiguration
onDidChange
setDiagnosticsOptions
- 语法:
setDiagnosticsOptions(options): void
- 参数:
options
: languages.json.DiagnosticsOptions
setModeConfiguration
- 语法:
setModeConfiguration(modeConfiguration): void
- 参数:
modeConfiguration
: languages.json.ModeConfiguration