I want to develop Go use pycharm. My golang version is 1.4.2.And my pycharm version is 4.5.2.My operating system is Mac OSX 10.10.3.I have configured the GOROOT and GOPATH on my Mac.Like the pictures:
I download the golang plugin from this url. But when I installed the plugin and restart pycharm, the IDE show me that no gopath and goroot. The messages:
what's wrong?
By default, PyCharm stores user-specific files for each IDE instance (configuration, caches, plugins, logs, and so on) in the user's home directory.
Open plugin settingsUse the Marketplace tab to browse and install plugins from the JetBrains Plugin Repository or from a custom plugin repository. Use the Installed tab to browse bundled and installed plugins, enable, disable, update, or remove them. Disabling unnecessary plugins can increase performance.
Create environment vairiables gopath
and goroot
.
For example,
export GOPATH='goHomePath'
export GOROOT='< goRootPath >'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With