Friday, February 8, 2013

C/C++ plugin 0.8.4 for IntelliJ IDEA 12 is available

 C/C++ plugin 0.8.4 for IntelliJ IDEA 12 is available.
This is same vanilla backport of C/C++ plugin 0.8.3 reflecting API changes and dropping support for old IntelliJ IDEA versions. One nano feature is new in this version though: you can configure colors for existing Makefile highlighting.

10 comments:

Anonymous said...

Since I updated to 0.8.4 I get the following error each time I try to compile a Java (!) project:

com.intellij.openapi.projectRoots.Sdk.getSdkType()Lcom/intellij/openapi/projectRoots/SdkTypeId; [Plugin: C/C++]
com.intellij.diagnostic.PluginException: com.intellij.openapi.projectRoots.Sdk.getSdkType()Lcom/intellij/openapi/projectRoots/SdkTypeId; [Plugin: C/C++]
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:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:145)
Caused by: java.lang.NoSuchMethodError: com.intellij.openapi.projectRoots.Sdk.getSdkType()Lcom/intellij/openapi/projectRoots/SdkTypeId;
at com.advancedtools.cpp.facade.CppCompiler.getProcessingItems(CppCompiler.java:46)
at com.intellij.compiler.impl.FileProcessingCompilerAdapter.getProcessingItems(FileProcessingCompilerAdapter.java:42)
at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:2023)
at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:1464)
at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:1004)
at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:747)
... 16 more

Anonymous said...

Forgot to mention that I'm using IntelliJ 11.1.5.

dragongears said...

I get the following error messages in my event log when I open any project in PhpStorm 5.0.4 with the C/C++ plugin installed:

11:39:56 AM NoSuchMethodError: Error during dispatching of java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=com.advancedtools.cpp.communicator.Communicator$4$2@32f4a1,notifier=null,catchExceptions=false,when=1361561996189] on sun.awt.windows.WToolkit@425743: com.intellij.openapi.roots.ProjectRootManager.addModuleRootListener(Lcom/intellij/openapi/roots/ModuleRootListener;)V
11:39:56 AM IllegalArgumentException: Argument 0 for @NotNull parameter of com/intellij/openapi/components/ServiceManager.getService must not be null: Argument 0 for @NotNull parameter of com/intellij/openapi/components/ServiceManager.getService must not be null
11:39:56 AM Configuration problem: MS Visual Studio path is not valid, please specify it in Cpp plugin settings for std library symbols

Unknown said...
This comment has been removed by the author.
Unknown said...

I'm doing some ARM Cortex-M4 development on the STM32F4 Discovery evaluation board. It can be seen at http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/PF252419

Would it be possible to debug this device with your C++ plugin, taking into account that the device uses a GDB debug server.

Unknown said...

Hey guys, just wondered if you plan a release that is compatible with Intellij 13? Love the plugin, and it would be great to see!

Unknown said...

Hi! Any chance to get it for IDEA13?

Kardiac Arrest said...

Hi,

I'm trying to make a plugin for OpenCL and would love to use yours as a base.

Would you be willing to share your source code?

Thanks,
Keith

Łukasz Brodowski said...

We need this plugin for IDEA 13 please!

Unknown said...

Definitely would be cool to get IntelliJ 13 support for this plugin! Anything the community can do to help?