Author Topic: Help on code completion  (Read 373 times)

Offline ouille

  • Multiple posting newcomer
  • *
  • Posts: 14
Help on code completion
« on: July 06, 2018, 06:05:11 pm »
Hello,

I use codeblocks to develop a linux kernel module. I manage to have the build process ok without error. Great !

But something goes wrong with code completion.

I have "add file recursively" added linux headers to my project. And code completion works as expected. I save the project.

If i close and re open codeblocks, codecompletion doesn't work any more. I need to "add file recursively" linux headers again to have correct behavior, but they are still in the project.

Am i doing something wrong ?

Thank for help.
Ouille
« Last Edit: July 06, 2018, 06:12:55 pm by ouille »

Offline BlueHazzard

  • Lives here!
  • ****
  • Posts: 2028
Re: Help on code completion
« Reply #1 on: July 06, 2018, 09:30:18 pm »
What version of codeblocks are you using?

Offline ouille

  • Multiple posting newcomer
  • *
  • Posts: 14
Re: Help on code completion
« Reply #2 on: July 07, 2018, 11:57:20 am »
Hello,

I use Codeblocks 17.12 : build jan 6 2018 10:12:19 , Windows 7 Pro

I've also tried "reparse this project" option without success.

It seem that parser doesn't run on headers on project loading ...

Have a nice day.
Ouille.
« Last Edit: July 08, 2018, 12:01:01 pm by ouille »

Offline BlueHazzard

  • Lives here!
  • ****
  • Posts: 2028
Re: Help on code completion
« Reply #3 on: July 09, 2018, 12:24:38 pm »
Can you try the latest nightly build? There were some changes made with path management and cc...

In all the cc for codeblocks is not the best anymore... There are better in work, but this will take time to develop...
this is one that works quite nice, but it is hard to install.. you may have a look at it https://github.com/yvesdm3000/ClangLib/tree/staging