GoClipse / goclipse

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

GoClipse should use GOROOT environment variable #229

Open rillig opened 7 years ago

rillig commented 7 years ago

After installing GoClipse, it complained that GOROOT were not defined, even though I have defined it in the System Environment Variables.

GoClipse should take the GOROOT environment variable as default. If that is not set, it should look in the usual folder (C:\Program Files (x86)\Go* and choose the installation with the highest version number as default.

Doing this makes the installation less painful, since when GOROOT is not set in the Eclipse Preferences, GoClipse complains loudly when I open the Project Properties and want to leave the Go Compiler properties page, telling me that GOROOT is unset.