无法在Intellij IDE中选择golang sdk。

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

Unable to select the golang sdk in Intellij IDE

问题

我正在按照以下博客配置我的golang环境(OS-X机器):

http://webapp.org.ua/dev/intellij-idea-and-go-plugin/

但是,每当我尝试添加go sdk(安装在/usr/local/go),SDK的选择框都是空白的。

无法在Intellij IDE中选择golang sdk。

请告诉我,我是否漏掉了什么。

英文:

I am following the following blog to configure my golang environment (OS-X machine):

http://webapp.org.ua/dev/intellij-idea-and-go-plugin/

But, whenever I try to add go sdk (installed at /usr/local/go), it appear blank selection for the SDK.

无法在Intellij IDE中选择golang sdk。

Please suggest me, if I am missing something.

答案1

得分: 1

这个页面列出了已在IntelliJ IDEA中配置的SDK。您需要点击“配置...”按钮,并将插件指向您的SDK安装位置。一旦您这样做了,它将在新项目创建的SDK列表中可用。

英文:

This page lists the SDKs which have already been configured in IntelliJ IDEA. You need to press the "Configure..." button and point the plugin to your SDK installation. Once you do this, it will become available in the SDK list for new project creation.

答案2

得分: 0

我建议使用以下内容来编写Go语言应用程序:

  1. https://groups.google.com/forum/#!msg/golang-nuts/tuGS99f-kqk/Tl5KqNG0js0J

  2. https://github.com/visualfc/liteide

英文:

I would suggest to use the following for writing golang application:

  1. https://groups.google.com/forum/#!msg/golang-nuts/tuGS99f-kqk/Tl5KqNG0js0J

  2. https://github.com/visualfc/liteide

答案3

得分: 0

如果你想在golang中使用IDEA,我们在过去几个月取得了很大的进展。请从github releases安装最新版本并尝试使用。

正如名称所示,这里可能会有一些问题,但它应该比当前版本的插件工作得更好。

你会发现它比其他用于编写go应用程序的工具更加出色 ;)(免责声明:我是插件的贡献者之一,我非常偏袒它)

英文:

If you want to use IDEA with golang, we've made a lot of progress in the past months. Please install the latest release from github releases and give it a try.

As the name suggests, there are a few issues here and there but it should work much better that the current release of the plugin.

You'll find it a class over the other offerings for writing go apps 无法在Intellij IDE中选择golang sdk。 (disclaimer I'm one of the contributors to the plugin, I'm very biased)

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

发表评论

匿名网友

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

确定