Skip to content

x/tools/gopls: code lens for interfaces implemented by methods #58024

@guettli

Description

@guettli

Is your feature request related to a problem? Please describe.

If I am looking at existing Go code, I would like to see immediately if this method was
implemented to satisify an interface.

For example like this screenshot from a different IDE:

image

the red up-arrow symbol on the left side shows that this method implements an interface.

It would be great to have these indicators next to the line number in vscode.

Describe alternatives you've considered

I thought about alternatives, but having a small indictor next to the line number is the only solution I have found.

Related discusssion: golang/vscode-go#1735

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions