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

Add support for typeHierarchy/supertypes and typeHierarchy/subtypes and integrate those via the codeInsight.gotoSuper and codeInsight.lineMarkerProvider EPs. #652

Open
SCWells72 opened this issue Dec 1, 2024 · 3 comments

Comments

@SCWells72
Copy link
Contributor

JetBrains' IDEs provide extensive support for navigating up and down type hierarchy relationships. Some of this is already integrated via LSP4IJ, e.g., Go To Implementation(s) via #636, but others are missing. Minimally support for typeHierarchy/supertypes should be added and integrated into the IDE via the codeInsight.gotoSuper EP. I'm not sure whether or not typeHierarchy/subtypes would add much vs. what is already used for Go To Implementation(s).

Additionally it would be nice to add support for type/method hierarchy relationships in the editor gutter area via codeInsight.lineMarkerProvider and the information from these LSP features to provide clear visual representations of these type inheritance relationships.

@angelozerr
Copy link
Contributor

Ctrl+H is implmented but typescript ls dosnt support it

@SCWells72
Copy link
Contributor Author

Go To Super is actually Ctrl+U (Windows/Linux). Do you know if TypeScript supports typeHierarchy/supertypes? If not, this becomes less compelling for me, but it's certainly still useful for languages which do support these notions.

@angelozerr
Copy link
Contributor

Yiu can see in lsp console that typescrpt ls dosnt support typeHierarchy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants