Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tsserver] Support for "Search Hierarchy Type" #8268

Closed
angelozerr opened this issue Apr 23, 2016 · 7 comments
Closed

[tsserver] Support for "Search Hierarchy Type" #8268

angelozerr opened this issue Apr 23, 2016 · 7 comments
Labels
API Relates to the public API for TypeScript Duplicate An existing issue was already created Suggestion An idea for TypeScript

Comments

@angelozerr
Copy link

It should be cool if tsserver could provide a new command "findHierarchyType" to retrieve list of types which implement an interface.

In other words I would like to provide te same feature than Eclipse plugins for Java inside typescript.java: open a popup which displays list of types (MyServiceA, MyServiceB etc) which implement an interface (IService):

typehierarchy

@DanielRosenwasser
Copy link
Member

Are you asking about something like an "implement interface" command?

@sandersn
Copy link
Member

Sounds more like a restricted "find all references" that only shows references for I that have implements I. I remember using this with C# too, and it's quite useful.

@DanielRosenwasser
Copy link
Member

So find all implementations?

@angelozerr
Copy link
Author

angelozerr commented Apr 26, 2016

Are you asking about something like an "implement interface" command?

Yes.

So find all implementations?

Exactly!

@mhegazy mhegazy added Suggestion An idea for TypeScript API Relates to the public API for TypeScript labels May 3, 2016
@angelozerr
Copy link
Author

It seems that #10482 should fix this issue?

@micaelgallego
Copy link

Maybe it can be implemented calling to this command several times (once per node in the hierarchy tree). But maybe it is too slow

@RyanCavanaugh RyanCavanaugh added the Duplicate An existing issue was already created label Aug 13, 2018
@RyanCavanaugh
Copy link
Member

Taking #10482 as the definitive fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Relates to the public API for TypeScript Duplicate An existing issue was already created Suggestion An idea for TypeScript
Projects
None yet
Development

No branches or pull requests

6 participants