mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 20:52:56 +01:00
add config to disable default formatter
fixes Microsoft/monaco-editor#889
This commit is contained in:
parent
b4d1a1e6b2
commit
f558b8f4ff
3 changed files with 11 additions and 4 deletions
6
src/monaco.d.ts
vendored
6
src/monaco.d.ts
vendored
|
|
@ -30,10 +30,14 @@ 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
|
||||
*/
|
||||
readonly enableSchemaRequest? : boolean
|
||||
readonly enableSchemaRequest? : boolean;
|
||||
}
|
||||
|
||||
export interface LanguageServiceDefaults {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue