LSP/TypeScript: support for type hierarchy and call hierarchy
Description
Type hierarchy and call hierarchy are very useful features when working on medium to large sized projects (specially the former). If the LSP/TypeScript plug-in for NetBeans supported these two features, I guess that any language supported through LSP would benefit from them (as long as the server in question also supports them, of course).
Call hierarchy is specified in LSP 3.16, whereas type hierarchy is specified in LSP 3.17.
If I'm not mistaken, NetBeans uses LSP4J to implement its LSP client. LSP 3.17 is almost fully supported by LSP4J 0.14 (except Notebook support and WorkspaceSymbol.data). So I guess that, as a first step, NetBeans should upgrade LSP4J from 0.12 to 0.14 (or the future 0.15).
Use case/motivation
When we work with big code bases or when we work with vast libraries or frameworks, it's easy to forget the type hierarchy that a specific type belongs to. Being able to quickly view such hierarchy in the IDE itself is very useful. Otherwise you need to check the documentation (if it exists) or dive and search in the source code (if available).
With regard to the call hierarchy, it's very useful when we've a function or method that is used in many places and we want to change its signature. By inspecting the call hierarchy, we can know why it takes some parameters whose need is not so obvious.
Related issues
No response
Are you willing to submit a pull request?
No
Code of Conduct
Yes
Don't know whether its related, we got many LSP server failure message while editing Typescripts; the failure seems affect other language, e.g. PHP, and no more syntax / object properties hint can be displayed

Having the same problem as @richso
@richso But... This is a feature request about being able to view the call and type hiearchies. When are those errors thrown? I've NetBeans 20 and have not seen any option to view either a call hiearchy or a type hierarchy when I edit TypeScript files.