Skip to content

TypeScript Call Hierarchy view fails to find callers for registerCommand in extension template #36509

Closed
@gregvanl

Description

@gregvanl

TS Template added by @mjbvz

Tested TypeScript Version: 3.8.0-dev.20200128

Search Terms

  • call hierarchy
  • provideCallHierarchyIncomingCalls

/cc @rbuckton


  • VSCode Version: 1.42 Insiders
  • OS Version: Windows 10

Found while testing microsoft/vscode#89386

Steps to Reproduce:

  1. Use yo code to create a TypeScript extension
  2. Open src\extension.ts and right-click on activate and look at "Calls from activate".

The view correctly shows that activate calls registerCommand.

  1. Now right-click on registerCommand and look at "Show Incoming Calls".

Call Hierarchy view is empty and says "No callers of 'registerCommand'".

image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions