mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 20:52:56 +01:00
- provide custom schema request service
- make sure that on-demand loading of schemas works as in VSCode - bump version of plugin
This commit is contained in:
parent
0e6ea95f4f
commit
5e33eb349b
6 changed files with 22 additions and 7 deletions
6
src/monaco.d.ts
vendored
6
src/monaco.d.ts
vendored
|
|
@ -30,6 +30,10 @@ declare module monaco.languages.json {
|
|||
*/
|
||||
readonly schema?: any;
|
||||
}[];
|
||||
/**
|
||||
* If set, the schema service would load schema content on-demand with 'fetch' if available, otherwise content would be taken from `schemas` property
|
||||
*/
|
||||
readonly enableSchemaRequest? : boolean
|
||||
}
|
||||
|
||||
export interface LanguageServiceDefaults {
|
||||
|
|
@ -39,4 +43,4 @@ declare module monaco.languages.json {
|
|||
}
|
||||
|
||||
export var jsonDefaults: LanguageServiceDefaults;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue