Closed lbrayner closed 11 months ago
Please consider adding something like this to nvim-jdtls.
The motivation for this was https://github.com/eclipse/eclipse.jdt.ls/issues/2684.
I was looking for a way to jump from an interface method implementation on a class to its declaration on the interface file. java_type_hierarchy
also delivers that..
Type hierarchy is also part of the spec: https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_prepareTypeHierarchy
I think eclipse.jdt.ls and neovim core should implement that instead of going with the custom off-spec variant
See also https://github.com/eclipse-jdtls/eclipse.jdt.ls/pull/2769
I'm not going to merge the off-spec variant. type hierarchy should be implemented in neovim core instead
java_type_hierarchy
usesjava.navigate.openTypeHierarchy
andjava.navigate.resolveTypeHierarchy
to show type hierarchy information of a class or method on the quickfix list.