Author Topic: pkg-config and Code completion  (Read 4587 times)

Offline walterwang

  • Single posting newcomer
  • *
  • Posts: 4
pkg-config and Code completion
« on: August 21, 2006, 04:47:22 pm »
hi, all
i have a question about pkg-config and code completion.
because pkg-config can be used in the compiler and linker options, so i did in my project using gtkmm. but the code completion works not any more. before i knew that pkg-config can be used in code::blocks, i ran pkg-config  in a shell and then copied the result into code::blocks, so worked. and also the code completion.
but with pkg-config works the code completion.
how can i configrate in Code::Blocks so that code completion works again?
can anyone help me?

takeshimiya

  • Guest
Re: pkg-config and Code completion
« Reply #1 on: August 21, 2006, 06:03:34 pm »
how can i configrate in Code::Blocks so that code completion works again?
can anyone help me?

Unfortunately, for now, if you want a working CodeCompletion, you'll have to do what you've done, that is, paste the output of pkg-config.


Offline walterwang

  • Single posting newcomer
  • *
  • Posts: 4
Re: pkg-config and Code completion
« Reply #2 on: August 21, 2006, 06:28:36 pm »
Thanks!!!

Offline Game_Ender

  • Lives here!
  • ****
  • Posts: 551
Re: pkg-config and Code completion
« Reply #3 on: August 21, 2006, 07:55:09 pm »
A new kind of search area would have to be added to code completion, something like "Search Output of Shell Command", and it could parse the output for all the include directories and put those in its list.