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.


moebius 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(
at com.intellij.compiler.impl.CompileDriver.access$1000(
at com.intellij.compiler.impl.CompileDriver$
at com.intellij.openapi.progress.impl.ProgressManagerImpl$
at com.intellij.openapi.progress.impl.ProgressManagerImpl$
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(
at com.intellij.openapi.progress.impl.ProgressManagerImpl$
at com.intellij.openapi.application.impl.ApplicationImpl$
at java.util.concurrent.Executors$
at java.util.concurrent.FutureTask$Sync.innerRun(
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$
at com.intellij.openapi.application.impl.ApplicationImpl$1$
Caused by: java.lang.NoSuchMethodError: com.intellij.openapi.projectRoots.Sdk.getSdkType()Lcom/intellij/openapi/projectRoots/SdkTypeId;
at com.advancedtools.cpp.facade.CppCompiler.getProcessingItems(
at com.intellij.compiler.impl.FileProcessingCompilerAdapter.getProcessingItems(
at com.intellij.compiler.impl.CompileDriver.a(
at com.intellij.compiler.impl.CompileDriver.a(
at com.intellij.compiler.impl.CompileDriver.a(
at com.intellij.compiler.impl.CompileDriver.a(
... 16 more

moebius 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 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

Josef van Niekerk said...
This comment has been removed by the author.
Josef van Niekerk said...

I'm doing some ARM Cortex-M4 development on the STM32F4 Discovery evaluation board. It can be seen at

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

Christopher Svanefalk 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!

Alexander Dorofeev said...

Hi! Any chance to get it for IDEA13?

Kardiac Arrest said...


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?


Łukasz Brodowski said...

We need this plugin for IDEA 13 please!

Ronald Logan said...

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