When trying to change the symbols, VSCode throws the following error:
"Rename failed: gorename: can't find package containing /home/hume/projects/go/main.go"
vscode 1.22.2 x64
go version go1.10.1 linux/amd64
go env GOPATH /home/hume/projects/go
My settings.json
is as follows:
{
"go.toolsGopath": "/home/hume/gotools"
, "go.autocompleteUnimportedPackages": true
, "go.inferGopath": true
, "go.formatTool": "gofmt"
, "go.vetFlags": [
"/src"
]
}
Thanks.