分享
  1. 首页
  2. 文章

Intellij IDE 安装Golang插件出现GO SDK报错

梦朝思夕 · · 19524 次点击 · · 开始浏览
这是一个创建于 的文章,其中的信息可能已经有所发展或是发生改变。

很多Java同学都是使用IDEA的,当然也可以直接使用 Gogland至少现在还是免费。谁也不知道什么时候又要收费了。 所以我们选择了IDEA使用插件方式支持Golang的开发。 老的IDEA很容易出现"The selected directory is not a valid home for Go SDK",比如我的15.0.1版本。 IDEA 15.0.1。 查看了插件文档

Supported IDEs
The plugin can be installed on following IntelliJ-based:
IntelliJ 2016.1+ (Ultimate or Community)
WebStorm 2016.1+
PhpStorm 2016.1+
PyCharm 2016.1+
RubyMine 2016.1+
CLion 2016.1+
Android Studio 1.2.1+
Pre-release builds are available in two forms: nightly and alphas. Alpha builds are usually released at the beginning of every week while nightly builds are released every night.
To use them do the following:
Use the instructions
Paste the URL for the version you need:
alpha: https://plugins.jetbrains.com/plugins/alpha/5047
nightly: https://plugins.jetbrains.com/plugins/nightly/5047
NOTE The above links are not meant to be used in browsers, so don't report issues about them not working or being inaccessible unless there's an error in the IDE itself.
Since these are not stable releases, some things might not work as expected.

发现插件已经不支持15版本了。 只要升级IDEA就可以了,怎么样升级?怎么样破解?请自行百度把!理论上15是可以支持golang 1.4之前的,但是谁还在使用呢?


有疑问加站长微信联系(非本文作者)

本文来自:开源中国博客

感谢作者:梦朝思夕

查看原文:Intellij IDE 安装Golang插件出现GO SDK报错

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

关注微信
19524 次点击
1 回复 | 直到 2025年05月15日 08:33:30
暂无回复
添加一条新回复 (您需要 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传

用户登录

没有账号?注册
(追記) (追記ここまで)

今日阅读排行

    加载中
(追記) (追記ここまで)

一周阅读排行

    加载中

关注我

  • 扫码关注领全套学习资料 关注微信公众号
  • 加入 QQ 群:
    • 192706294(已满)
    • 731990104(已满)
    • 798786647(已满)
    • 729884609(已满)
    • 977810755(已满)
    • 815126783(已满)
    • 812540095(已满)
    • 1006366459(已满)
    • 692541889

  • 关注微信公众号
  • 加入微信群:liuxiaoyan-s,备注入群
  • 也欢迎加入知识星球 Go粉丝们(免费)

给该专栏投稿 写篇新文章

每篇文章有总共有 5 次投稿机会

收入到我管理的专栏 新建专栏