CodeCompass icon indicating copy to clipboard operation
CodeCompass copied to clipboard

Finding CodeCompass binary path

Open intjftw opened this issue 3 years ago • 2 comments

Multiple plugins need to know the absolute path of the CodeCompass binary that is being run, in places where they don't reach argv[0].

intjftw avatar May 24 '22 15:05 intjftw

What do plugins need this information for?

bruntib avatar May 25 '22 07:05 bruntib

What do plugins need this information for?

It's usually that the plugin needs to run another binary on a relative path to the CC binary (e.g. the competence plugin wants to run JPlag, Java and C# plugins need to run their own parser components in their respective languages), and this can't be done if the CC binary is not run from the install directory.

intjftw avatar May 26 '22 08:05 intjftw