nsf / gocode

An autocompletion daemon for the Go programming language
MIT License
5.01k stars 656 forks source link

Add support for export format version 5 #456

Closed paralin closed 7 years ago

paralin commented 7 years ago

On Go 1.9:

panic: unknown export format version 5 ("version 5")

paralin commented 7 years ago

Never mind, YouCompleteMe was hiding the fact that an old GoCode was being used...

gerrard00 commented 6 years ago

Sorry to resurrect a long dead issue, but @paralin can you share how you resolved the problem for future web searchers like myself?

paralin commented 6 years ago
go get -u -v github.com/nsf/gocode
gerrard00 commented 6 years ago

I had tried that but it didn't seem to work. I wound up resolving the issue by going into the YouCompleteMe plugin's copy of gocode (it's a submodule) and updating to the v.20170907 tag manually. Hacky, but I've got auto-completion again.

felixge commented 6 years ago

@gerrard00 thx - that worked for me as well.