LanguageServiceDefaults
ts
interface LanguageServiceDefaults {
diagnosticsOptions: languages.css.Options;
languageId: string;
modeConfiguration: languages.css.ModeConfiguration;
onDidChange: IEvent<languages.css.LanguageServiceDefaults>;
options: languages.css.Options;
setDiagnosticsOptions(options): void;
setModeConfiguration(modeConfiguration): void;
setOptions(options): void;
}
diagnosticsOptions
languageId
- 类型:
string
modeConfiguration
- 类型:
onDidChange
options
setDiagnosticsOptions
setModeConfiguration
- 语法:
setModeConfiguration(modeConfiguration): void
- 参数:
modeConfiguration
: languages.css.ModeConfiguration - 描述:设置模式配置