intelliji can't access go 1.10 std lib on Mac OS

91 views
Skip to first unread message

Joseph Lorenzini

unread,
Feb 20, 2018, 8:18:22 PM2/20/18
to golang-nuts
All:

I may just need to open a bug with intelliji but I find the behavior so peculiar that I thought i'd ask if anyone who codes go in intelliji may know what's going on.

I uninstalled go 1.9.3 and installed go 1.10. After I do that, intelliji can no longer find any packages in the std lib and autocomplete no longer works. third party packages its fine with. I reinstalled 1.9.3 and then intelliji can find the std lib again. Since I haven't upgraded intelliji, I am guessing something changed in 1.10 that's breaking intelliji's ability to access the std lib but I am at a loss as to how that could be.

I did verify that go 1.10 install is working (e.g go version go build go install all work etc)

Joe 

matthe...@gmail.com

unread,
Feb 21, 2018, 9:33:36 AM2/21/18
to golang-nuts
Maybe something with GOROOT? From the release notes:

If the environment variable $GOROOT is unset, the go tool previously used the default GOROOT set during toolchain compilation. Now, before falling back to that default, the go tool attempts to deduce GOROOT from its own executable path. This allows binary distributions to be unpacked anywhere in the file system and then be used without setting GOROOT explicitly.

How did you install Go?

Matt

Florin Pățan

unread,
Feb 21, 2018, 6:34:25 PM2/21/18
to golang-nuts
Hi,


You need to provide more details than this. Have you installed Go in the same location? What version are you using? Have you tried restarting the IDE after the Go install operation?

Thanks.
Reply all
Reply to author
Forward
0 new messages