I recently decided to try IntelliJ IDEA 12 CE.
I Successfully installed their C/C++ plugin and restarted the IDE.
Now after I click File->New Project->C/C++ Module, next window prompts me to "Choose Cpp SDK".
I'm stuck at this window, tried entering many paths and failed. My system is OSX Mountain Lion, Xcode 4.5.2 with command-line tools installed. Compiling from command line with gcc works just fine.
C/C++ are not officially supported in IntelliJ IDEA, but you can use CLion. You can browse the JetBrains Marketplace to find an official plugin that adds support for almost any language, framework or technology used today, or for third-party plugins.
IntelliJ IDEA is a cross-platform IDE that provides consistent experience on the Windows, macOS, and Linux operating systems.
Run the IntelliJ IDEA app from the Applications directory, Launchpad, or Spotlight. Run the idea.sh shell script in the installation directory under bin. You can also use the desktop shortcut, if it was created during installation.
If you installed IntelliJ IDEA via the Toolbox App, the plugins directory will be located in the installation directory. To find the installation directory, open the settings of the IDE instance in the Toolbox App, expand Configuration and look for the Install location field.
I can confirm that using Idea 12.0.1 Ultimate (Build Id 123.94) and Xcode 4.5.1 on OSX this simply works. At the dialog for "Choose Cpp SDK" I wrote /usr/bin/gcc (which was what "which gcc" returns on my system. I used version 0.8 build 4.
There is a nice C++/Obj-C IDE from JetBrains for development on OSX - AppCode. Not so long ago it updated to 2.0 version. Most IDEA functionality and plugins are supported.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With