Open annarbt opened 8 years ago
Sadly I don't use eclipse, so can't help you. Maybe someone else will. Also worth asking eclipse guys. From the log I can only see some oracle error, and nothing suspicious about gocode.
Also since you're running linux (judging by /home paths), I would recommend trying simpler editors to see if something is wrong with gocode or environment setup. For example godit, a very simple editor: https://github.com/nsf/godit. Type C-x C-a
for gocode autocompletion, works only on .go files if they are on disk (saved). Type C-x C-c
for exit. If autocompletion works in godit, then the eclipse setup is the problem.
And finally, try autocompletions on simple code:
package main
import "fmt"
func main() {
fmt.
}
Yes, first of all, where what is the source of main.go, and where was the cursor when you requested code completion?
The autcomplete doesn't show up at all. I get this in the oracle/gocode console
GOROOT = /usr/local/go GOPATH = /home/anna/work gocode path = /home/anna/work/bin/gocode