Skip to content

Is there a way to have an indicator referring to the interface that a function implements and to see where an interface is implemented? #1735

Answered by hyangah
clauderoy790 asked this question in Help
Discussion options

You must be logged in to vote

If you run "Find All Implementations" from the struct type, vscode will show the list of interfaces the type implements.
If you run "Find All Implementations" from a method, vscode will show the list of corresponding interfaces.
This is not very intuitive but it looks like this was an attempt to fit Go-specific information in the general purpose LSP concept back then.
golang/go#35550

There is no visual indicator though.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@clauderoy790
Comment options

@guettli
Comment options

@tony-sol
Comment options

Answer selected by clauderoy790
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
4 participants