Skip to content
This repository has been archived by the owner on Mar 19, 2019. It is now read-only.

Doesn't work with go1.11 #24

Open
dashingspidy opened this issue Oct 3, 2018 · 6 comments
Open

Doesn't work with go1.11 #24

dashingspidy opened this issue Oct 3, 2018 · 6 comments

Comments

@dashingspidy
Copy link

Hello,
It doesn't work with new version of go. I think it's because of 'Gocode'.
I wonder if it's possible to update to newer version of Gocode.

Thanks

@wy-z
Copy link
Owner

wy-z commented Oct 3, 2018

It doesn't matter with the version of gocode.
Try rm $(which gocode) && go get -u github.com/nsf/gocode.

@dashingspidy
Copy link
Author

It works only for default go code but not for packages like it used to. Only Panic appears.

@wy-z
Copy link
Owner

wy-z commented Oct 4, 2018

gocode drop-cache?
Try to drop gocode daemon's cache.

@dashingspidy
Copy link
Author

it doesn't work. But i found something interesting.
If i add import manually, it does show up autocompletion for third party packages.

@wy-z
Copy link
Owner

wy-z commented Oct 8, 2018

This is so strange.
Try move your project to $GOPATH/src?
It doesn't matter with the version of gocode, gocode.py was forked from https://github.com/nsf/gocode/blob/master/subl3/gocode.py.

@dashingspidy
Copy link
Author

i always work on GOPATH src folder.
Gocode isn't maintained anymore. So maybe there is an issue.
Other editors plugin using github.com/mdempsky/gocode instead of old one.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants