How to use the vscode-json-languageservice/lib/umd/services/jsonHover.JSONHover function in vscode-json-languageservice

To help you get started, we’ve selected a few vscode-json-languageservice examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github redhat-developer / yaml-language-server / src / languageservice / services / yamlHover.ts View on Github external
constructor(schemaService: YAMLSchemaService, promiseConstructor: PromiseConstructor) {
        this.promise = promiseConstructor || Promise;
        this.shouldHover = true;
        this.jsonHover = new JSONHover(schemaService, [], Promise);
    }