2015-06-26 15:45
采纳率: 0%
浏览 258


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: enter image description here

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:

enter image description here

what's wrong?

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

2条回答 默认 最新

  • dongmou2389
    dongmou2389 2015-07-14 19:27

    Install the latest pre-release build of the new golang IDEA plugin. There's been a lot of work recently on it by two Jetbrains employees and it's gotten much better than the currently released version.

    点赞 评论
  • download2565
    download2565 2016-04-06 06:36

    Create environment vairiables gopath and goroot.

    For example,

    export GOPATH='goHomePath'
    export GOROOT='< goRootPath >'
    点赞 评论