-
Notifications
You must be signed in to change notification settings - Fork 39
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 uses some API which isn't available in IDEA 11 #26
Comments
Thanks for the tip, Nik. I haven't tried the EAP yet. I guess it's time to do so. |
This issue bites me too |
This is, unfortunately, due to an API that has changed between IDEA 10 and IDEA 11 with no deprecation window. Fixing this means that the new version of the plugin for IDEA 11 will not be backward-compatible, without doing a bunch of reflection tricks and hoop-jumping. |
I believe this issue is resolved. |
* Get the project's ResolveCache in a way that is compatible with both IDEA 10 and 11. * Implemented getPresentableFile method of the SourceGeneratingCompiler interface. * Bumped plugin version to 0.5
Please provide downloadable jar, it is a bit of a hassle to setup yet another IDEA just to build the plugin, by some reasons Idea Ultimate does not recognize this project |
I've uploaded version 0.5a1 of the plugin to allow use with the EAP release. Enjoy. |
When *.proto file is opened the following exception is thrown:
java.lang.NoSuchMethodError: com.intellij.psi.impl.PsiManagerEx.getResolveCache()Lcom/intellij/psi/impl/source/resolve/ResolveCache;
at protobuf.lang.psi.impl.reference.PbRefImpl.resolve(PbRefImpl.java:219)
at protobuf.annotator.PbAnnotator.visitRef(PbAnnotator.java:114)
See http://confluence.jetbrains.net/display/IDEA/IDEA+11+API+Changes for full list of API changes.
The text was updated successfully, but these errors were encountered: