This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 645
Add support for "Go to Type Definition"/"Peek Type Definition" #2121
Labels
Comments
Doesnt the existing |
I think the "Go to Implementation" command as implemented will go to the implementation of an interface/method. If you use it on a variable it will just fail. What is asked here is being able to go to the definition of the type of the symbol under the cursor. Go to Type Definition on a struct variable should go to where that struct type is defined. |
Got it, thanks! |
#2136 was merged. I guess this can be closed. |
This feature is now available in the latest version of the Go extension (0.8.0) |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Implement TypeDefinitionProvider which would add support for "Go to Type Definition" and "Peek Type Definition". This would be really helpful for Go, which uses type inference a lot, so you rarely have a type to click on for "Go to Definition"/"Peek Definition".
The text was updated successfully, but these errors were encountered: