-
Notifications
You must be signed in to change notification settings - Fork 646
"Go to Impelmentaion" can not find what types implement the interface #1545
Comments
I think "-scope" shall not be used in finding interface implementaions, when -scope is removed, guru is able to give out the correct result. |
I used these two custom settings:
|
The fact that in your logs the file paths are preceded by I can repro something similar if I open the GOPATH directly in VS Code. In your case, GOPATH seems to be |
It was opened at /home/rockmen1/playground/go/guru_test/
It works in this case. But src/test_implementation is not actually a formal GOPATH. |
@rockmenjack this very much looks like #1536 (now fixed in master) |
Fixed. Need some help testing though. All you need to do is
|
Tried with the provided extension, it worked! |
This fix is now available in the latest update (0.6.78) to the Go extension |
When trying to find who implement the interface, nothing was found, and an error is printed in debug console:
Steps to Reproduce:
Here is a simple step to reproduce, create a simple go code layout as below:
vscode_test
└── src
└── test_implementation
└── test.go
In the test.go file:
The text was updated successfully, but these errors were encountered: