vscode-codeql icon indicating copy to clipboard operation
vscode-codeql copied to clipboard

Add type hierarchy support in CodeQL

Open aeisenberg opened this issue 5 years ago • 3 comments

Type hierarchies in CodeQL can be deep, especially for the core libraries. It would be very helpful for users to be able to explore the entire hierarchy in a single view.

aeisenberg avatar Sep 09 '20 20:09 aeisenberg

There is no standard lsp support so we would have to implement it ourselves.

The closest there is to a standard is https://github.com/microsoft/vscode-languageserver-node/pull/426 which is used in the java langauge server and also in theia but it was rejected without explanation by the vscode team.

alexet avatar Oct 27 '20 14:10 alexet

There's no standard support, and there's also no command inside of VSCode. It looks like we'd need to circumvent the LSP for this as well as create our own view for it.

aeisenberg avatar Oct 27 '20 15:10 aeisenberg

Official support for type hierarchies was added in LSP v. 3.17.

kaspersv avatar Nov 22 '23 07:11 kaspersv