Skip to content

"Go to interface" command #698

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
emil14 opened this issue Sep 29, 2020 · 2 comments
Closed

"Go to interface" command #698

emil14 opened this issue Sep 29, 2020 · 2 comments
Labels
FrozenDueToAge WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.

Comments

@emil14
Copy link

emil14 commented Sep 29, 2020

Can we have a go to interface command? Maybe Go to type definition should do it?

I understand that one type's method could implement multiple interfaces but there should be an easy way to go to that interface from implementation. It will also great to have an ability to see all the interfaces that some implementation satisfies (if there are multiple of them)

@hyangah
Copy link
Contributor

hyangah commented Sep 29, 2020

@emil14 Is it different from how Find All Implementations context menu on a concrete type works now when gopls is enabled? ("go.useLanguageServer": true)

image

golang/go#35550

I admit Find All Implementations was not the first thing that came into my mind. It behaves differently when it runs against an interface and when it runs against a concrete type, which is not very intuitive.

@hyangah hyangah added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Sep 29, 2020
@emil14
Copy link
Author

emil14 commented Sep 30, 2020

Okay, got it

@emil14 emil14 closed this as completed Sep 30, 2020
@golang golang locked and limited conversation to collaborators Sep 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

3 participants