I am using PyCharm 3.1.1 and I have installed the Go plugin for IntelliJ Idea. I did export GOROOT=$(go env GOROOT)
to prevent PyCharm from complaining about missing GOROOT
environment variable.
Now I was able to create a sample project, but the run command complains:
Error running untitled1.go: No Go Sdk defined for this project
On other sites I found that I should do something like:
Go to the
File -> Project Structure
and configure Go SDK by clicking+
button and selecting/usr/lib/go/
folder.
But I don't have File -> Project Structure
menu item.
How to make PyCharm work with the Go plugin?