mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 20:52:56 +01:00
Move disableDefaultFormatter to LanguageServiceDefaults
This commit is contained in:
parent
f558b8f4ff
commit
f1b2e50e7c
3 changed files with 20 additions and 10 deletions
9
src/monaco.d.ts
vendored
9
src/monaco.d.ts
vendored
|
|
@ -30,10 +30,6 @@ declare module monaco.languages.json {
|
|||
*/
|
||||
readonly schema?: any;
|
||||
}[];
|
||||
/**
|
||||
* Disable the default JSON formatter.
|
||||
*/
|
||||
readonly disableDefaultFormatter?: boolean;
|
||||
/**
|
||||
* If set, the schema service would load schema content on-demand with 'fetch' if available
|
||||
*/
|
||||
|
|
@ -44,6 +40,11 @@ declare module monaco.languages.json {
|
|||
readonly onDidChange: IEvent<LanguageServiceDefaults>;
|
||||
readonly diagnosticsOptions: DiagnosticsOptions;
|
||||
setDiagnosticsOptions(options: DiagnosticsOptions): void;
|
||||
/**
|
||||
* Disable the default JSON formatter.
|
||||
*/
|
||||
readonly disableDefaultFormatter?: boolean;
|
||||
setDisableDefaultFormatter(disable: boolean): void;
|
||||
}
|
||||
|
||||
export var jsonDefaults: LanguageServiceDefaults;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue