vscode-go
vscode-go copied to clipboard
UI: annotations for implementations of interfaces
Since go does not have an explicit declaration of which interfaces one implements, it is hard to follow someone's code. I know that there is a command to show all the interfaces, but it is not very intuitive nor efficient.
Goland has the feature of showing a gutter when a function implements an interface. It would be nice to show maybe a codelens over the implementation and the type, or a similar solution as Goland.
Codelens:

Goland:

I found an extension that does kinda the opposite which is not very helpful in most scenario: galkowskit/go-interface-annotations

That's exactly how rust-analyzer handles traits
this feature seems exactly what I want.