You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
This is probably because the references codelens relies on the default references provider, which I would guess doesn't work with modules (see here). We should be able to get the references provider from the language server if it's in use. Does that sound right to you, @ramya-rao-a?
@karim Closing this issue in favor of the upstream issue logged above.
There is no further work in guru to fix references in module mode, so we will need to wait for gopls, the language server to support this.
What version of Go, VS Code & VS Code Go extension are you using?
go version
to get version of Gogo version go1.13.6 windows/amd64
code -v
orcode-insiders -v
to get version of VS Code or VS Code Insiders1.41.1 26076a4de974ead31f97692a0d32f90d735645c0 x64
0.12.0
go env GOOS GOARCH
to get the operating system and processor arhcitecture detailswindows amd64
Share the Go related settings you have added/edited
Describe the bug
Showing references does not work in module mode if they are in different files.
However, if I moved the function to the same file it works.
Or if I moved the whole project inside
GOPATH
.The text was updated successfully, but these errors were encountered: