I want to use autocompletion, but can't get gocode (https://github.com/nsf/gocode) working.
The editor of my choice is Brackets (using https://github.com/David5i6/Brackets-Go-IDE). But I can't get it working with vim+vundle or komodo either.
- The GOPATH wasn't set by the GO installation
- I set the GOPATH and PATH just like the instruction specified and can work on go projects just fine.
My folder structure:
~/Documents/goDev/bin/
test
gocode
/src/
github/
jonas/
test/
test.go
nfs/
gocode/
...
From my .profile:
export GOPATH=/Users/jonas/Documents/goDev
export PATH=$PATH:/usr/local/bin:/usr/local/go/bin/:/Users/jonas/Documents/goDev/bin
With go env i get:
...
GOPATH="/Users/jonas/Documents/goDev"
...
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
...
Is there something I did wrong with my setup? Or have I maybe missed something else?
Thanks in advance