mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 10:59:13 +00:00
feat(lsp): basic support for textDocument/completion (#8651)
This commit is contained in:
parent
8bf3e0f4c6
commit
e94a18240e
6 changed files with 287 additions and 4 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue