Golang插件在Intellij上的使用

huangapple go评论94阅读模式
英文:

Golang plugin on Intellij

问题

我想将Intellij 13.1.6作为我的Go应用程序IDE,但是我还无法解决一些问题。

Intellij上安装的Go支持插件的默认版本是0.9.15,但是在这个版本中,有一些错误导致我无法成功构建项目。

所以我尝试按照这篇文章自己构建go-plugin的jar包:

https://content.pivotal.io/blog/setting-up-the-google-go-plugin-with-intellij-idea-13-on-os-x-10-8-5

但是当我点击"Prepare Plugin Module 'google-go-language' For Deployment"时,它显示错误,因为找不到一些方法。如下图所示:
Golang插件在Intellij上的使用

我认为问题是我的Intellij版本缺少一些库,所以无法成功构建go-plugin的jar包。我该如何解决这个问题?

感谢任何回复。

  • Intellij版本:13.1.6
  • JDK版本:1.7
  • Go-plugin在GitHub上的最新提交是主分支上的0261ffa。
英文:

I want to use Intellij 13.1.6 as my go app IDE, but there are some problem I can't sovle yet.

The default version of go support plugin installed on Intellij is 0.9.15, but in this version, there are some bugs so that I can build project successfully.

So I try to build the go-plugin jar by myself follow this article:

https://content.pivotal.io/blog/setting-up-the-google-go-plugin-with-intellij-idea-13-on-os-x-10-8-5

But when I click Prepare Plugin Module 'google-go-language' For Deployment, it shows errors cause some method can't be found. As the following figure
Golang插件在Intellij上的使用

I think the problem is the version of my Intellij lack of some lib so that I can't build go-plugin jar successfully. How do I fix this?

Appreciate any replies.

  • Intellij Version: 13.1.6
  • JDK Version: 1.7
  • Go-plugin on GitHub: the latest commit on master branch (0261ffa)

答案1

得分: 3

Go插件代码的最新版本需要IntelliJ IDEA 14

英文:

The latest version of the Go plugin code requires IntelliJ IDEA 14.

huangapple
  • 本文由 发表于 2014年12月21日 12:42:42
  • 转载请务必保留本文链接:https://go.coder-hub.com/27586785.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定