vscode-go
vscode-go copied to clipboard
Use -trimpath when installing tools
That will reduce the chance of including users' file system paths in stack trace reports.
Change https://go.dev/cl/404156 mentions this issue: src/goInstallTools: pass -trimpath to go install command
It seems that gocode and gocode-mod both fail to resolve symbols/types when trimpath is used (they either panic or report interface{} or any types as invalid types.