vscode-go icon indicating copy to clipboard operation
vscode-go copied to clipboard

Use -trimpath when installing tools

Open hyangah opened this issue 3 years ago • 2 comments

That will reduce the chance of including users' file system paths in stack trace reports.

hyangah avatar May 04 '22 20:05 hyangah

Change https://go.dev/cl/404156 mentions this issue: src/goInstallTools: pass -trimpath to go install command

gopherbot avatar May 04 '22 21:05 gopherbot

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.

hyangah avatar Jun 09 '22 12:06 hyangah