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

Implement "Go to Implementation" to find all the derived classes #3941

Open
sean-mcmanus opened this issue Jul 18, 2019 · 5 comments
Open

Implement "Go to Implementation" to find all the derived classes #3941

sean-mcmanus opened this issue Jul 18, 2019 · 5 comments
Labels
Feature Request Language Service Works in VS So we'd need to fix it for VS Code to reach parity.
Milestone

Comments

@sean-mcmanus
Copy link
Contributor

Any sort of class inheritance info/viewing is unlikely to be available any time soon -- I don't think even Visual Studio has this available. Maybe you could parse the find all references result to check for references of classes that involve inheritance, but that would only work if the base class reference were on the same line as the sub class reference.

VSCode has implemented 'go to implementation' from version 1.35. If I can get the implementation locations of symbol, I think it's ok.

Originally posted by @Lennon925 in #3886 (comment)

@michelleangela michelleangela added this to the Backlog milestone Jul 18, 2019
@sean-mcmanus sean-mcmanus added the Works in VS So we'd need to fix it for VS Code to reach parity. label Jul 18, 2019
@sean-mcmanus
Copy link
Contributor Author

VS has the info available via the "Class View".

@ddhanaraj
Copy link

Identifying all derived classes is a basic need during code navigation. Are there any plan to have this feature in VS Code?

@sean-mcmanus
Copy link
Contributor Author

Find All References can be used as a workaround -- i.e. if you use it on a base class virtual method, it should find all the derived classes that override that method.

We don't currently have any plans to add this in the near-term (we have too many higher priority issues), but it's on our backlog.

@mmatrosov
Copy link

Unfortunately, "Find All References" is really slow. I barely use it.

@DuoLife-QNL
Copy link

What's the recent update of this feature?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Language Service Works in VS So we'd need to fix it for VS Code to reach parity.
Projects
None yet
Development

No branches or pull requests

5 participants