

Intellij IDE 安装Golang插件出现GO SDK报错
source link: https://studygolang.com/articles/11004?fr=sidebar
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Intellij IDE 安装Golang插件出现GO SDK报错
梦朝思夕 · 2017-09-12 03:52:22 · 5401 次点击 · 预计阅读时间 1 分钟 · 大约8小时之前 开始浏览很多Java同学都是使用IDEA的,当然也可以直接使用 Gogland至少现在还是免费。谁也不知道什么时候又要收费了。
所以我们选择了IDEA使用插件方式支持Golang的开发。
老的IDEA很容易出现“The selected directory is not a valid home for Go SDK”,比如我的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之前的,但是谁还在使用呢?
有疑问加站长微信联系(非本文作者)

Recommend
-
18
IDE+Smalidea插件+Baksmali调试破解APK
-
7
Remix项目--包括Remix IDE及其相关库,发布了VSCode的Remix插件的测试版本。现在可以在VSCode的插件市场上搜索:Remix 或者前往VSCode网...
-
12
Electron 12+ 出现 require is not defined 报错解决Electron 12+ 出现 require is not defined 报错解决在 Electron 12 及更高版本,设置了nodeIntegration: true及nodeIntegrationInWorker: true、nodeIntegratio...
-
15
解决 IntelliJ IDEA 出现 key is invalid 问题,亲测有效! 推荐最新 IntelliJ IDEA 2021 最新永久激活码,非常好用,每天专业人士测试,保证最新最好用的激活码提供给大...
-
2
Android Studio IDE 插件开发发布于 46 分钟前作者:字节跳动终端技术——周宸韬这篇文章旨在向读者介绍IntelliJ IDE插件的开发流程以及常用的一些通用功能,...
-
13
V2EX › 程序员 发现 JB 家的 IDE 有时候识别代码会出现莫名其妙的 BUG movq · 10 分钟前 ·...
-
14
记录解决Nginx出现报错403 forbidden的四种方法 2022-02-17...
-
8
最近在运行使用lombok...
-
8
Vscode插件:将代码连接到IDE中的文档 将文档连接到代码并接收警报以在代码更改时...
-
5
V2EX › Go 编程语言 golang 可能出现文件打开但是报错的情况吗
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK