News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

A new plugin: Clang compilation database generator

Started by yvesdm3000, December 10, 2016, 08:46:56 PM

Previous topic - Next topic

yvesdm3000

Clang based code completion for Code::Blocks:   [url="http://github.com/yvesdm3000/ClangLib"]http://github.com/yvesdm3000/ClangLib[/url]

oBFusCATed

Have you tried the plugin on linux?
I doubt it will work there because I see \r\n all over the code.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

yvesdm3000

That is correct, it only has a windows project for now as a first step. I need to see how it reacts on linux the following days and I'll fix the issues that I encounter.

Yves
Clang based code completion for Code::Blocks:   [url="http://github.com/yvesdm3000/ClangLib"]http://github.com/yvesdm3000/ClangLib[/url]

yvesdm3000

The last commit now has a unix .cbp file. I installed the .so and the .zip file manually, I don't know if the generated .cbplugin file works.

Known issues:

  • Only full paths generated
  • Treats headerfiles and other resource files as source files.
  • Doesn't take the 'extra' compile options from the ClangCC plugin yet. Not sure if this is a big problem.
  • No configuration GUI yet

Yves
Clang based code completion for Code::Blocks:   [url="http://github.com/yvesdm3000/ClangLib"]http://github.com/yvesdm3000/ClangLib[/url]