Closed michaelwills closed 10 years ago
Hey Michael, Thanks for the feedback!
Indeed the signature of the method changed in 13.1. I was still using 13.0. It should be fixed later today
This should be fixed by a rather ugly hack (copy paste from intellij API). Unfortunately, the template mechanism has changed a lot in intellij 13.1. It is very handy to generate custom templates of a predetermined size via extension points but not so much for a dynamic list like we do.
TL;DR Closing the issue, it should be fixed in version 0.3.4. Michael, could you please update to the new version and confirm everything is ok ?
Thanks for the quick response! Something is still afoot as I now get RequestException
from https://github.com/geowarin/gist-templates-plugin/blob/master/src/main/java/com/gisttemplates/gist/GistAccountFetcher.java#L41-41. Any additional logs I can supply for you? I also wonder if there are new changes in 13.1.1
as opposed to just 13.1
.
You are right to point this out, error handling is atrocious right now. I plan to replace the library used to fetch gists (https://github.com/eclipse/egit-github/tree/master/org.eclipse.egit.github.core) by my own very soon.
It is odd thought, RequestException
is a real error sent by the github api so I'm guessing something else is wrong, maybe with your credentials...
In the meantime, I just released a v0.3.5 to provide more information. It would be very nice of you if you could keep on assisting me with this and check out the new version !
Not a problem and it's interesting. Just tried. Now it gives a Not Found (404)
.
Well this is odd. Are you behind a proxy of some kind ? The request issued should be https://api.github.com/users/michaelwills/gists assuming your username is correct in the VCS settings
My Github settings are in and correct and the Gist plugin settings are set to use my credentials. I get the error below when trying to use either to generate files or use the templates. I am using Intellij 13.1.1 build 135.480. This is for the current version available via the plugin manager. Let me know if there is something I can do to help resolve this. Looks like a neat project!