microsoft / microsoft/TypeScript

Type hierarchy api support

Open
#45,877 0 comments 12 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Experience Enhancement Suggestion
Dominant language
Go
Stars
111k
Forks
14.4k
Avg merge
1d 19h
Merged PRs (30d)
117

Description

Suggestion

🔍 Search Terms

  • type hierarchy
  • inheritance
  • subclass
  • superclass

List of keywords you searched for before creating this issue. Write them down here so that others can find this suggestion more easily and help provide feedback.

⭐ Suggestion

VS Code recently introduced a new API for displaying type hierarchies:

This api is very similar to the exiting call hierarchy api and displayed in a similar way in the editor

Although type hierarchies are most useful for languages like Java that use inheritance heavily, they would also be a nice feature to support for JavaScript and TypeScript

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

Start with the linked VS Code issue and the type hierarchy API in vscode.d.ts, then compare it with the call hierarchy API described in the suggestion. Done means TypeScript and JavaScript can provide type-hierarchy data through the requested editor API.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript, vscode
Domain
api, developer-experience, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.