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
-
Beta Was this translation helpful? Give feedback.
Answered by
hyangah
Sep 7, 2021
Replies: 1 comment 3 replies
-
If you run "Find All Implementations" from the struct type, vscode will show the list of interfaces the type implements. There is no visual indicator though. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
clauderoy790
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.