feat(lsp): basic support for textDocument/completion (#8651)

This commit is contained in:
Luca Casonato 2020-12-08 11:36:13 +01:00 committed by GitHub
parent 8bf3e0f4c6
commit e94a18240e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 287 additions and 4 deletions

View file

@ -514,6 +514,16 @@ delete Object.prototype.__proto__;
),
);
}
case "getCompletions": {
return respond(
id,
languageService.getCompletionsAtPosition(
request.specifier,
request.position,
request.preferences,
),
);
}
case "getDocumentHighlights": {
return respond(
id,