Golang auto completion nsf package

autocomplete, go

Solution

It will only work if you build and install those external packages.

if you just `go get` their sources, the completion won't work, even said sources are in the `GOPATH/src/...`.

Those packages need to be at least compiled (`GOPATH/pkg`).

As mentioned in "How does Go update third-party packages?", a `go get -u all` can help.

Problem

I have installed sublime and go. Tried the autocompletion feature offered by https://github.com/nsf/gocode. It works perfectly for standard packages. But not working for external packages like the ones fetched from github. Any help on this appreciated. Thanks.

Original source

Related problems