I cannot for the life of me get this to work in IDEA 12. all my .proto files cannot resolve their dependencies to other proto files in my project. I've tried setting up my module several different ways but the compiler still cannot resolve the imports.
Thank you for reporting the problem with IDEA 11. The error is fixed in version 0.5.4.
.
Anonymous
Rated: noRate
2013-01-23 13:18:07
the plugin now generates an error in idea 11.5 com.intellij.compiler.CompilerWorkspaceConfiguration.useOutOfProcessBuild()Z [Plugin: com.nmatveev.idea-plugin-protobuf]: com.intellij.compiler.CompilerWorkspaceConfiguration.useOutOfProcessBuild()Z [Plugin: com.nmatveev.idea-plugin-protobuf] com.intellij.diagnostic.PluginException: com.intellij.compiler.CompilerWorkspaceConfiguration.useOutOfProcessBuild()Z [Plugin: com.nmatveev.idea-plugin-protobuf] at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:765) at com.intellij.compiler.impl.CompileDriver.access$1000(CompileDriver.java:104) at com.intellij.compiler.impl.CompileDriver$8.run(CompileDriver.java:665) at com.intellij.compiler.progress.CompilerTask.run(CompilerTask.java:155) at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:469) at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:178) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:218) at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:169) at com.intellij.openapi.progress.impl.ProgressManagerImpl$8.run(ProgressManagerImpl.java:378) at com.intellij.openapi.application.impl.ApplicationImpl$6.run(ApplicationImpl.java:434) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:145) Caused by: java.lang.NoSuchMethodError: com.intellij.compiler.CompilerWorkspaceConfiguration.useOutOfProcessBuild()Z at protobuf.compiler.PbPrecompileTask.execute(PbPrecompileTask.java:25) at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:2196) at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:872) at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:747) ... 16 more java.lang.NoSuchMethodError: com.intellij.compiler.CompilerWorkspaceConfiguration.useOutOfProcessBuild()Z at protobuf.compiler.PbPrecompileTask.execute(PbPrecompileTask.java:25) at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:2196) at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:872) at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:747) at com.intellij.compiler.impl.CompileDriver.access$1000(CompileDriver.java:104) at com.intellij.compiler.impl.CompileDriver$8.run(CompileDriver.java:665) at com.intellij.compiler.progress.CompilerTask.run(CompilerTask.java:155) at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:469) at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:178) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:218) at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:169) at com.intellij.openapi.progress.impl.ProgressManagerImpl$8.run(ProgressManagerImpl.java:378) at com.intellij.openapi.application.impl.ApplicationImpl$6.run(ApplicationImpl.java:434) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(Applicatio
Anonymous, I haven't heard of an issue with file template configuration. I am unable to reproduce your bug with version IDEA 12.02 and either version 0.5.2 or 0.5.3 of the plugin. If you can reproduce the bug, please report an issue on the project's github page: https://github.com/nnmatveev/idea-plugin-protobuf/
Anonymous: Yes, the plugin does some syntax highlighting for .proto files, in addition to generation of .java source files from the .proto files during compilation.
.
Anonymous
Rated: noRate
2013-01-22 01:42:25
In intelliJ 12.0.2 this plugin blocks Settings -> File templates configuration dialog.
.
Anonymous
Rated: noRate
2013-01-12 06:06:13
Does this plugin do syntax highlighting or anything special in the editor while editing .proto files?
how do you compile this in IJ ? how do I set up the compiler for protobuf
.
Anonymous
Rated:
2012-12-21 02:25:36
Can't compile it with jdk 1.6 IJ-IC 11.1.4 I do have .proto file with it's icon, but there is no option to compile There is intellij menu compile but that does't do anyting ( meaning does not create the .java file )
I have upgraded to the latest version of the plugin. The continuous errors are now gone, but I can't get the compile function to work. I have added a protocol buffer facet to the project. I am using the latest Idea version and JDK 7 as compiler on OS X.
Comments:
22:04:56 NoSuchMethodError: com.intellij.psi.impl.PsiManagerEx.getResolveCache()Lcom/intellij/psi/impl/source/resolve/ResolveCache;: com.intellij.psi.impl.PsiManagerEx.getResolveCache()Lcom/intellij/psi/impl/source/resolve/ResolveCache;
Any suggestions on how to stop this?
I can compile the .proto file without an issue, I just can't click on it and edit it.
Thanks
Richard