mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 02:48:24 +00:00
fix(lsp): textDocument/references
should respect includeDeclaration
(#18496)
This commit is contained in:
parent
cc7f5c1015
commit
c4f82cab31
7 changed files with 339 additions and 98 deletions
|
@ -1121,10 +1121,10 @@ delete Object.prototype.__proto__;
|
|||
),
|
||||
);
|
||||
}
|
||||
case "getReferences": {
|
||||
case "findReferences": {
|
||||
return respond(
|
||||
id,
|
||||
languageService.getReferencesAtPosition(
|
||||
languageService.findReferences(
|
||||
request.specifier,
|
||||
request.position,
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue