x/tools/gopls: Cannot jump to definitions in k8s stage dir #60841
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
gopls cannot work well in vendor dir; it cannot jump to definitions when trace source go in vendor.
gopls version
➜ vendor git:(master) ✗ gopls version golang.org/x/tools/gopls v0.12.1 golang.org/x/tools/gopls@(devel)
go env
Editor and settings
Logs
[ERROR][2023-06-16 17:32:21] ...lsp/handlers.lua:535 "2023/06/16 17:32:21 no signature help: cannot find an enclosing function\n\tposition=21:0\n"
[ERROR][2023-06-16 17:45:43] ...lsp/handlers.lua:535 "2023/06/16 17:45:43 no signature help: cannot find an enclosing function\n\tposition=24:0\n"
[ERROR][2023-06-16 17:45:43] ...lsp/handlers.lua:535 "2023/06/16 17:45:43 no signature help: cannot find an enclosing function\n\tposition=21:0\n"
[ERROR][2023-06-16 17:45:45] ...lsp/handlers.lua:535 "2023/06/16 17:45:45 no signature help: cannot find an enclosing function\n\tposition=183:21\n"
[ERROR][2023-06-16 17:45:45] ...lsp/handlers.lua:535 "2023/06/16 17:45:45 no signature help: cannot find an enclosing function\n\tposition=183:21\n"
The text was updated successfully, but these errors were encountered: