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
The first off thing was that guru do not show on Go: Install/Update Tools and I needed to install using go get -u golang.org/x/tools/cmd/guru.
With the language server enabled, the extension does not include guru as one of the tools. Since this feature is not implemented in gopls (see: golang/go#40862), perhaps we should consider including it in the list of tools even when the language server is enabled.
We are no longer maintaining guru in favor of gopls. If you would like to see support for this feature from gopls, please add your support to golang/go#40862.
The feature relies on guru and unfortunately, guru is no longer maintained and won't work well in Go module mode (which is the default in the latest Go version) even when we let guru handle this when the language server is enabled. Let's close this issue in favor of golang/go#40862.
What version of Go, VS Code & VS Code Go extension are you using?
go version
to get version of Go from the VS Code integrated terminal.gopls -v version
to get version of Gopls from the VS Code integrated terminal.code -v
orcode-insiders -v
to get version of VS Code or VS Code Insiders.Check your installed extensions to get the version of the VS Code Go extension
`0.26.0
Run Ctrl+Shift+P (Cmd+Shift+P on Mac OS) >
Go: Locate Configured Go Tools
command.Share the Go related settings you have added/edited
Describe the bug
CodeLens.references is disable by default, but it has a very useful information. I enabled it using the config below:
The first off thing was that
guru
do not show onGo: Install/Update Tools
and I needed to install usinggo get -u golang.org/x/tools/cmd/guru
.All interface reference count is
0 references
.Steps to reproduce the behavior:
This simple code:
Screenshots or recordings
The text was updated successfully, but these errors were encountered: