GoClipse / goclipse

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

Set the default GOROOT value in Go Preferences #161

Closed fredyw closed 8 years ago

fredyw commented 8 years ago

Retrieve the GOROOT value in Go preferences from the GOROOT environment variable.

bruno-medeiros commented 8 years ago

I don't agree with this change either. Similarly because of same reason I mentioned in other PR: the default value of a preference becomes set as the saved preference value once the user opens the preference dialog and presses ok. Which means if GOROOT env variable changes, the preference value will not reflect this change because the default value will not be recalculated (unless the user explicitly presses "Restore Defaults")

bruno-medeiros commented 8 years ago

I'd rather implement this in a way similar to GOPATH, use a checkbox to use env value.