gocode
gocode copied to clipboard
An autocompletion daemon for the Go programming language
Per mdempsky/gocode#32, a `-source` flag needs to be passed to this forked version of `gocode` in order for it to find references in foreign packages. Since `company-go` in MELPA comes...
See https://github.com/mdempsky/gocode/issues/53
I installed **go1.11** and then **go get nsf/gocode** when I got a new linux environment. After I **config go autocomplete in emacs**, gocode encounter a panic. My colleague also encounter...
``` panic: unknown export format version -1 ("i\x00\xe9\x03\xc6\x06\x18$GOROOT\\src\\fmt\\print.go\x00\x05Write\x01b\x01n\x03err\x05Width\x03wid\x02ok\tPrecision\x04prec\x04Flag\x01c\x06Format\x01f\x05State\x06String\bGoString\x01w\x06Writer\x02io\x06format\x01a\aesc:0x1\aesc:0x9\x17$GOROOT\\src\\fmt\\scan.go\bReadRune\x01r\x04size") 1(runtime.call32): C:/Go191/src/runtime/asm_amd64.s:509 2(runtime.gopanic): C:/Go191/src/runtime/panic.go:491 3(main.(*gc_bin_parser).parse_export): C:/Go/bin/src/github.com/nsf/gocode/package_bin.go:126 4(main.(*package_file_cache).process_package_data): C:/Go/bin/src/github.com/nsf/gocode/package.go:132 5(main.(*package_file_cache).update_cache): C:/Go/bin/src/github.com/nsf/gocode/package.go:92 6(main.update_packages.func1): C:/Go/bin/src/github.com/nsf/gocode/autocompletecontext.go:455 7(runtime.goexit): C:/Go191/src/runtime/asm_amd64.s:2337 ``` Not sure what needs clearing/removing.
Gocode completely doesn't work since version golang 1.10. The utility does not return anything after updating golang. If roll back golang to version 9, then everything starts working again. :(
I hav to input command let autocomplete work. Is there a way that no need input command?
`go version devel +49e3e436e7 2018-04-14 21:59:08 +0000 linux/amd64`
My GOPATH is "/home/user001/gocode",and my project locates at "/home/user001/project001".After I make a private package at "/home/user001/project001/privatelib/privatelib.go",I found the company-go and the go-autocomplete wouldn't provide any candidates for this privatelib.go's exported...
As far as I can see, it's not currently documented there.
I setup [zchee/deoplete-go](https://github.com/zchee/deoplete-go) but it does not work. I ran gocode command with reference to zchee/deoplete-go#50, but nothing was returned. What is the problem? ``` bash $ cp ~/.config/nvim/dein/repos/github.com/zchee/deoplete-go/tests/fmt.go fmt.go...