Search code examples
c++govisual-studio-codegoland

I'm using Goland, but now is coming a project having both Go and C++ files inside. Am I forced to move to VS Code?


Until now, my projects were plain Go ones, and I managed them with Goland.

But now, a new one is coming having both Go and C++ files.
(some Go functions are implemented with the help of C++ methods and CGO)

The Goland editor can show me Go sources, allows me to edit it, show me errors on them... like the Go IDE it is,
...but when it is in front of a C++ source, it can't do nothing.

This is why, my teammates are telling me that I can't escape moving to VS Code
who handles the two langages in the same project, by the mean of two plugins (one Go, one C++).
But I'm reluctant to, because I'm used with Jetbrains IDE.

I know the question look a dumb one, but I have to ask it:
Do I have a way to handle C++ sources files in Goland?


Solution

  • This is the C/C++ plugin for JetBrains products. It also supports Goland, but the version of Goland you are using might not be supported, yet.

    The same has been asked in Can't find C/C++ IntelliJ IDEA Plugin.

    Goland is mentioned as being supported, but my current version is not supported:

    enter image description here