github / vscode-codeql

An extension for Visual Studio Code that adds rich language support for CodeQL
https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-codeql
MIT License
427 stars 191 forks source link

Add type hierarchy support in CodeQL #561

Open aeisenberg opened 4 years ago

aeisenberg commented 4 years ago

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.

alexet commented 4 years ago

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.

aeisenberg commented 4 years ago

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.

kaspersv commented 1 year ago

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