- 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:
Igor Nesterenko 2018-07-28 23:15:58 +03:00
parent 0e6ea95f4f
commit 5e33eb349b
6 changed files with 22 additions and 7 deletions

6
src/monaco.d.ts vendored
View file

@ -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;
}
}