My autocomplete / intellisense stopped working after upgrading from Go extension to Visual Studio code here: https://github.com/microsoft/vscode-go
I discovered the problem there, but I think this might be related to gocode.
I am running Windows 10, Go version 1.5.1, Visual Studio 0.10.5 code, and the Go extension 0.6.21. It worked fine before the upgrade, and I used the Go 0.6.17 extension.
The problem is with the / intellisense suggestions for the inner package, but every outer package that I no longer offer when writing. or Ctrl + space. Even the net / http or core go package does not work.
I wanted to try myself to run gocode, to see what he does return, so I scanned the code to expand and fulfill a child process like this: gocode -f=json autocomplete filename offset.
Not sure how to get, offsetor what it represents, the number of bytes for a position that triggers autocomplete? In any case, when I run this, I did not get the output, and I do not return to the invitation, I need to return CTRL + C.
I also can’t find anything interesting on Google, maybe I searched incorrectly or didn’t know exactly what to look for.
Does anyone have an idea, the goal of running gocode was to see if gocode really returned a sentence for an external package, than if so, there is something with the extension.
If gocode doesn’t return anything, it means it isn’t working properly now, what can I do?
thanks
1: gocode kostya answer
2015/12/23 07:26:11 Import path "github.com/gocraft/web" was not resolved
2015/12/23 07:26:11 Gocode build context is:
2015/12/23 07:26:11 GOROOT: c:\go
2015/12/23 07:26:11 GOPATH:
2015/12/23 07:26:11 GOOS: windows
2015/12/23 07:26:11 GOARCH: amd64
2015/12/23 07:26:11 GBProjectRoot: ""
2015/12/23 07:26:11 lib-path: ""
, GOPATH , , echo %GOPATH%, .