Can't find C/C++ IntelliJ IDEA Plugin

后端 未结 3 1077
有刺的猬
有刺的猬 2021-02-11 12:36

I\'m trying to add a c/c++ plugin to IntelliJ IDEA, so I went to plugins and searched for it but couldn\'t find it. Did they remove it and replace it with their new IDE cLion? I

相关标签:
3条回答
  • 2021-02-11 13:04

    One should really note that the "C/C++" plugin available in the IntelliJ Plugin Repository is actually not developed by Jetbrains, but by a third party called AdvancedTools, and has long not been updated. I'm not sure if that is related to the release of CLion, e.g. IntelliJ bought out the plugin to serve as the foundation of CLion or whatnot.

    As listed in the CLion FAQ page, there is currently no official standalone plugin for C/C++ editing available for IntelliJ IDEA. Just as with some other products such as Jetbrains AppCode, Jetbrains are currently keeping CLion as an exclusively paid product, without a free community edition, as indicated in this forum post.

    The post also confirmed that a plugin for IntelliJ IDEA might be coming in the future, but is currently (Jan 2018) not a priority for JetBrains.

    So yeah for now the only way to get decent C/C++ support within the IntelliJ ecosystem is to use/buy JetBrains CLion.

    0 讨论(0)
  • 2021-02-11 13:06

    Looks like the version of your IntelliJ IDEA is newer than what the C/C++ plugin supports. If you look at the plugin page you can see that builds from 139.1 until 142 are compatible. And if you look here you can see that build 141 is IntelliJ 14.1 and IntelliJ IDEA 15 is numbered 143. So my guess is you are using IntelliJ IDEA 15 or 16 EAP and therefore the plugin is not shown when you search for it.

    0 讨论(0)
  • 2021-02-11 13:09

    Simply download the cpp plugin of the old 14 version located here: https://plugins.jetbrains.com/plugin/1373-c-c-

    Then edit the file CppTools/META-INF/plugin.xml and replace the "until-build" value in line 5 to something like until-build="170.0"

    And this works perfectly :)

    0 讨论(0)
提交回复
热议问题