GoClipse / goclipse

Eclipse IDE for the Go programming language:
http://goclipse.github.io/
Eclipse Public License 1.0
841 stars 286 forks source link

GOROOT is not defined #184

Closed dicos closed 8 years ago

dicos commented 8 years ago

Hi, i am installed golang into this paths: $ echo $GOROOT /home/dmitry/go $ echo $GOPATH /home/dmitry/web/go $ echo $PATH /home/dmitry/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dmitry/go/bin

I can compile my files from console.

I'm use Eclipse Version: Mars.1 Release (4.5.1). After open *.go file Eclipse says: "GOROOT is not defined" and not working autocomplete.

bruno-medeiros commented 8 years ago

Ah, you still need to specify the GOROOT in the Goclipse preferences, even though the environment variable is already defined. (Admittedly it seems a bit unnecessary)