x/tools/gopls: implement callHierarchy #39461
Labels
FeatureRequest
Issues asking for a new feature that does not need a proposal.
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
help wanted
Tools
This label describes issues relating to any tools in the x/tools repository.
I'd love to see gopls implement the new LSP Call Hierarchy feature. I'd look forward to using it in VSCode which already supports it.
This was discussed as a "Preview Feature" in the VSCode release notes from March:
https://code.visualstudio.com/updates/v1_33#_preview-features
At the time, this LSP API was still in preview, but with the upcoming 3.16 LSP specification, I believe that this is no longer the case:
https://microsoft.github.io/language-server-protocol/specifications/specification-3-16/
As you can see from the screenshot included in the VSCode release notes, VSCode provides a nice ui when the language server implements this:
I see that others have requested this feature on the vscode-go repo, but I don't see a ticket here:
microsoft/vscode-go#2682
I share the sentiment of the other user: this would be a great addition and would be very useful for me in my day to day work.
The text was updated successfully, but these errors were encountered: