Open GoogleCodeExporter opened 9 years ago
Ok, would around would be to delete gocode that comes with goclipse and and
make a symbolic link to freshly compiled gocode:
rm
/Applications/eclipse/plugins/com.googlecode.goclipse.gocode_0.2.1/tools/osx64/g
ocode
ln -s $GOBIN/gocode
/Applications/eclipse/plugins/com.googlecode.goclipse.gocode_0.2.1/tools/osx64/g
ocode
Original comment by ivovnenko
on 11 Oct 2011 at 10:02
I'm on 64-bit Xubuntu and get the same problem. If I move the included gocode
and replace it with a symlink to my own copy of gocode, it works beautifully...
just as ivovnenko said it would. For me, that path is:
~/.eclipse/org.eclipse.platform_3.7.0_155965261/plugins/com.googlecode.goclipse.
gocode_0.2.1/tools/linux64/gocode
By the way (for anyone testing out this problem), be sure that no gocode
processes are running before you restart Eclipse otherwise you might be testing
the wrong thing. Also make sure that you can run "gocode -s" from the command
line. If it complains about a file in /tmp, delete it first as that will
prevent it from working properly when you restart Eclipse.
Versions: I'm using golang version weekly.2011-12-22 11071 and Eclipse 3.7.0
(Indigo). gocode is compiled using gomake from nsf's Github repo. Go is built
from the official repo. Eclipse is supplied via Ubuntu's pre-built binaries
from their debrepos. GoClipse is installed as usual in Eclipse and it is
version 0.2.1.
Original comment by dustyisa...@gmail.com
on 26 Dec 2011 at 12:27
The bundled gocode needs an update. nsf has recently updated gocode to support
latest weeklies / Go 1.
Original comment by trustmas...@kodigy.com
on 10 Feb 2012 at 6:07
can you please update and try again?
Original comment by st...@kryas.com
on 7 Apr 2012 at 9:42
Same issue with:
Windows 7
Go 1.1
Eclipse 4.2.2
GoClipse 0.7.6v450
Original comment by tank...@gmail.com
on 30 May 2013 at 12:33
Resolved.
I have install gocode in my GOROOT, and it works.
https://github.com/nsf/gocode
Original comment by tank...@gmail.com
on 31 May 2013 at 12:19
Original issue reported on code.google.com by
ivovnenko
on 11 Oct 2011 at 8:33Attachments: