Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin Not Working on IntelliJ IDEA 2017.2 #2898

Open
mcherri opened this issue Jul 20, 2017 · 18 comments · May be fixed by #2912
Open

Plugin Not Working on IntelliJ IDEA 2017.2 #2898

mcherri opened this issue Jul 20, 2017 · 18 comments · May be fixed by #2912

Comments

@mcherri
Copy link

mcherri commented Jul 20, 2017

  • 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.

@dlsniper
Copy link
Member

Duplicate of #2897, please see #2897 (comment)

I won't close this so hopefully others can find it easier

@dlsniper dlsniper marked this as a duplicate of #2897 Jul 20, 2017
@mcherri
Copy link
Author

mcherri commented Jul 20, 2017

Thanks

@Disastorm
Copy link

Disastorm commented Aug 8, 2017

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.

@mageddo
Copy link

mageddo commented Aug 26, 2017

So, Can we create a pull request for that?

@clarsonneur
Copy link

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.jarwhich 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

@Disastorm
Copy link

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.

@TheLinuxGuy
Copy link

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)

@dlsniper
Copy link
Member

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/

@OnkelTem
Copy link

OnkelTem commented Nov 9, 2017

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

@dlsniper
Copy link
Member

dlsniper commented Nov 9, 2017

@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).

@OnkelTem
Copy link

OnkelTem commented Nov 9, 2017

@dlsniper I see. Thanks man.

@dlsniper
Copy link
Member

dlsniper commented Nov 26, 2017

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.

@dlsniper
Copy link
Member

dlsniper commented Nov 26, 2017

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.

image

@notzippy
Copy link

notzippy commented Dec 4, 2017

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.

@notzippy notzippy linked a pull request Dec 4, 2017 that will close this issue
@mrtrkmn
Copy link

mrtrkmn commented Jan 12, 2018

Hi
I am facing similar problem with some differences, I checked #2897 (comment) 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.

  • My Intellij idea's information

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

@dlsniper
Copy link
Member

dlsniper commented Jan 12, 2018

@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.

@mrtrkmn
Copy link

mrtrkmn commented Jan 13, 2018

@dlsniper Thank you.

@andreyvolosyuk
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

10 participants