go-lang-plugin-org / go-lang-idea-plugin

Google Go language IDE built using the IntelliJ Platform
https://plugins.jetbrains.com/plugin/5047
Other
4.56k stars 571 forks source link

Cannot change GOROOT #2910

Closed brunoterkaly closed 7 years ago

brunoterkaly commented 7 years ago

I am trying to update the gogland ide to use a more recent version of golang. When I go into File/Settings/go/GOROOT, I am unable to change directory to a locally installed version of go, outside of the forced location of /usr/lib/go.

The reason I need to do this is that some of the libraries are dated.

For example, I am getting a compiler error, "undefined: io.SeekStart.

I am using Linux Ubuntu. I am using the bill from October 25, version 173.3415.23.

So to boil this down to simple questions is:

Why can I not change the goroot folder?

Can I copy the latest binaries of golang into /usr/lib/go to compensate for the fact that I cannot change goroot?

jetbrains

jetbrains2

snap0271 snap0270

dlsniper commented 7 years ago

This is not the correct place for the issue. I was writing the reply to your ticket on YouTrack.

brunoterkaly commented 7 years ago

Checking youtrack. No answer yet.

dlsniper commented 7 years ago

There is an answer now. This tracker is not the one for GoLand. I'll not provide further help on this issue here. Thank you for your understanding.