microsoft / microsoft/TypeScript

Call hiearchy doesn't show incoming calls for node module

Open
#42,669 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Bug Domain: LS: Outlining
Dominant language
Go
Stars
111k
Forks
14.3k
Avg merge
2d 4h
Merged PRs (30d)
132

Description

TS Template added by @mjbvz

TypeScript Version: 4.2.0-dev.20210205

Search Terms

  • Call hierarchy
  • provideCallHierarchyOutgoingCalls
  • provideCallHierarchyIncomingCalls

  • VSCode Version: 1.52.1
  • OS Version: Linux x64 Fedora 33

Steps to Reproduce:

  1. Open call hiearchy on caller function A and switch to outgoing calls. There is called function B.
  2. Open call hiearchy on called function B and switch to incoming calls. There is empty list

Does this issue occur when all extensions are disabled?: Yes

image
image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue using the reported call-hierarchy steps on a Node module, first checking the behavior around provideCallHierarchyOutgoingCalls and provideCallHierarchyIncomingCalls. Done means that after following an outgoing call from A to B, opening incoming calls for B shows A rather than an empty list.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
compilers
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.