Open Samyoul opened 6 years ago
Unfortunately this project is no longer maintained, I highly recommend you switch to GoLand
This would mean I would need to have 2 IDEs. I thought Intellij IDEA Ultimate was the one stop IDE.
Then you can use IntelliJ IDEA Ultimate 2017.3+, it has the Go functionality of GoLand. But you are using a very old version of IDEA as is and this project, as I've mentioned, is no longer maintained.
According to the README https://github.com/go-lang-plugin-org/go-lang-idea-plugin#release-versions-schema the plugin version I am using is compatible with the IDEA version. So it seems unlikely that the problem is related to my IDE version, or the plugin version.
Plugin version number | Platform number |
---|---|
0.12.x | IntelliJ 2016.2 (IntelliJ IDEA 2016.2) |
0.11.x | IntelliJ 2016.1 (IntelliJ IDEA 2016.1) |
0.10.x | IntelliJ 143.1180 - 143.9999 (IntelliJ IDEA 15.0.2+) |
0.9.x | IntelliJ 141.1532 - 141.9999 (IntelliJ IDEA 14.1) |
I am on Linux and this plugin works till Golang version 1.9.6. 1.10+ won't work and gives the unresolved type error on import. It could be the same with Windows but I am not sure. Eventually, I think the way to go is to use Goland.
Hi, I upgrade the IDEA from 2017.2 to 2018.2 , and the problem is solved. When I upgrade the IDEA, than I can upgrade the go plugins to 182.4129..... I think this is the problem.
Was on Go1.9 and upgraded to Go1.11 since MacOS 10.14 Mojave required it, now my combination of IntelliJ IDEA CE 2017.1 and Go plugin (the last known working combination) stop to work.
Take a look at https://github.com/go-lang-plugin-org/go-lang-idea-plugin/blob/master/src/com/goide/project/GoVendoringUtil.java#L31
.. the code is taking only first 3 characters from sdkVersion, treating your go-v1.11.4
as go-v1.1
.
A "quick hack" is to edit the $HOME/.Idea*/config/options/jdk.table.xml
and downgrade your Go-SDK versions to v1.9.
Plugin version (or commit hash):
0.12.1799
IDE name and version:
Intellij IDEA 2016.2.5
Java version:
8
OS name and version:
Windows 10 Pro
What happens?
Auto complete and error checking don't work correctly, all of the standard Go primitive types and functions are not recognised.
Have I made an error with the set up of this plugin?