Skip to content

x/tools/gopls: include implementations in definition results for interfaces and interface methods #71109

Open
@cdbattags

Description

@cdbattags

Is your feature request related to a problem? Please describe.
Using the cmd+click/option+click flow, I always go to the interface instead of going to the source for the implementation.

Describe the solution you'd like
I would like a setting that opens the "Go to Implementations" dialog instead or might even go to the first implementation automatically.

Describe alternatives you've considered
https://github.com/microsoft/vscode/blob/e1de2a458dfb770545489daf499131fd328924e7/extensions/typescript-language-features/package.json#L1485 as a reference for how TypeScript extension deals with this. I've tried to see if I could add this behavior myself but for now I just rebound the cmd+f12 keybind instead.

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureRequestIssues asking for a new feature that does not need a proposal.ToolsThis label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.gopls/survey-candidate

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions