Open mcherri opened 7 years ago
Duplicate of #2897, please see https://github.com/go-lang-plugin-org/go-lang-idea-plugin/issues/2897#issuecomment-316320489
I won't close this so hopefully others can find it easier
Thanks
I found the workaround. In intellij-go-0.171.1931.jar you change META-INF/plugin.xml file from:
<idea-version since-build="171.1834" until-build="171.*"/>
to:
<idea-version since-build="171.1834" until-build="172.*"/>
The plugin seems to be working after this.
I'm not sure what you need to change in this repo to do that.
So, Can we create a pull request for that?
Hey,
Just for information:
With Intellij IDEA 2017.2.3, Community Edition (172.3968.16), I was able to make it work with the workaround proposed by @Disastorm.
Just to avoid confusion. My understanding is that there is 2 different golang plugin:
I did it on Go-0.171.1931.zip found from community edition plugin, and it works.
@Disastorm confused me with intellij-go-0.171.1931.jar
which looks to come from the goglang/ultimate edition plugin. So, just wanted to clarify for those that were confused like me.
Hope this could help some.
@dlsniper How can we help to make support the community edition? if the update is not too complex, I can do it.
Thanks
I also only have Community edition but my filename is indeed called intellij-go-0.171.1931.jar
the vendor url is
<vendor url="https://github.com/go-lang-plugin-org"/>
so it does appear to be this plugin. I had originally installed it awhile back via the plugin installer in the ui of the client (not the download from the webpage), maybe it has a different name when you do it that way. The jar I was referring to was inside the config directory of Ideas, you can get there by going to [About -> View logs in Explorer] or something like that.
I wish someone would provide the plugin modified .zip file, I guess I need to learn how to repack a .jar file (extracted it with 7zip successfully on windows)
Someone could just send a PR with that but nobody did so... Use Gogland https://www.jetbrains.com/go/ It's miles better than this plugin given this hasn't been updated in a year. See: https://blog.jetbrains.com/go/2017/10/26/gogland-eap-17-type-hierarchy-call-hierarchy-parameter-hints-vendor-scope-and-more/
Please, update the plugin.
Doesn't work on:
PhpStorm 2017.2.4
Build #PS-172.4155.41, built on September 15, 2017
JRE: 1.8.0_152-release-915-b11 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.10.0-38-generic
@OnkelTem nobody submitted any PR to update this. Either use GoLand or IntelliJ Ultimate with the Go plugin from JetBrains. As it is, the plugin is 1 year behind the development of GoLand and you can see here: https://blog.jetbrains.com/go/ what you are missing from it (aside for a lot of bugfixes).
@dlsniper I see. Thanks man.
You can use GoLand which is a superset of WebStorm + Go, or IntelliJ Ultimate. There's no need to use two IDEs for the job.
You also can't use PHP or Ruby in WebStorm for example.
It does not have a resource root setting
As far as I can see, there is a Resource Root
option both in the right-click menu as well as Settings | Project Structure
. The only missing type is Tests
but that's because it's not Go specific. (see the screenshot below)
various plugins aren't in Goland
Can you please let me know which plugins aren't available? I'll be happy to chase the plugin owners to update their support to include GoLand if possible.
This plugin is still open-source but nobody else sent any other PRs. Aside from a very few contributors (you can count them on the fingers of one hand), there never were contributors to this plugin. And I personally can't keep up with JetBrains in terms of features and frankly I don't want to since their plugin is so much better these days. If anyone wants to contribute to it, please send PRs.
I'm so pissed at Jetbrains right now.
Please write to their sales department if you are paying customer. I do not work for JetBrains and I can't help you with this unfortunately.
From what I can see the version compatibility issue
<idea-version since-build="171.1834" until-build="171.*"/>
Is not in the source code. It is embedded in the released package. So in order to make a new compatible plugin with 172.*
line someone who has access must rebuild this plugin and deploy it to intellij site.
Hi I am facing similar problem with some differences, I checked https://github.com/go-lang-plugin-org/go-lang-idea-plugin/issues/2897#issuecomment-316320489 however, it did not fix my problem, the "Browse repositories..." option does not show any result. Hence, I decided to comment here, If you can help me, I will be appreciated. Thanks.
IntelliJ IDEA 2017.3.2 (Ultimate Edition) Build #IU-173.4127.27, built on December 25, 2017 JRE: 1.8.0_152-release-1024-b8 x86_64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Mac OS X 10.13.2
@ahmetturkmen you are using the Ultimate edition, Go is available for that platform from JetBrains. Go to Browse repositories and search for Go. If you have any further issues with this, please open the issue on the official JetBrains tracker, https://youtrack.jetbrains.com/issues/Go , not here. Thank you.
@dlsniper Thank you.
I've added all instructions given by @suztomo to a bash file. Run it as soon as phpstorm or another editor version was changed.
https://gist.github.com/andreyvolosyuk/fe87c3bfe2e1d8d5fb30719072c91e1f
Plugin version (or commit hash): I cannot see the plugin in the plugin list to know the version
IDE name and version: IntelliJ IDEA 2017.2 Build #IC-172.3317.76, built on July 15, 2017
Java version: JRE: 1.8.0_152-release-915-b5 amd64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
OS name and version: Ubuntu 16.04 Linux 4.4.0-83-generic
What are you trying to do? Upgrading to the latest IntelliJ IDEA 2017.2 community edition
What would you expect to happen? The plugin should work (loaded) after the upgrade and is shown in the plugins list.
What happens? The plugin does not work (loaded) after the upgrade and is not shown in the plugins list.
After upgrading to the latest IntelliJ IDEA 2017.2 community edition the plugin stopped working. I tried to uninstall it but now it does not show in the plugins list.
Please help.