Code::Blocks Forums

User forums => Help => Topic started by: Maxim Levitsky on April 16, 2009, 02:19:04 pm

Title: Code completion doesn't always work
Post by: Maxim Levitsky on April 16, 2009, 02:19:04 pm
I don't seem to make code competion to work

I added /usr/include/gtk-2.0/gtk, and yet many symbols are missing, eg:

gtk_window_new.

It seems that even if I remove /usr/include/gtk-2.0/gtk from project C+/C parser paths, I get same results.
Very weird
Title: Re: Code completion doesn't always work
Post by: ollydbg on April 16, 2009, 03:57:19 pm
Works fine in Windows with Mingw and wxWidgets and many libraries.

My question:

Did you add the related header file in your project?
Title: Re: Code completion doesn't always work
Post by: Maxim Levitsky on April 16, 2009, 08:50:39 pm
I only need to add it to "additional C parser path in project properties" ? or I need to add headers into the project?

(And both doesn't work)
Title: Re: Code completion doesn't always work
Post by: Maxim Levitsky on April 18, 2009, 09:58:27 pm
And meanwhile a solution is to install codelite - codeblocks but much better in browsing.
No offfence of course, codeblocks is great, i'll just wait till it gets proper browsing, since this is all I need
(and never had in linux)

Title: Re: Code completion doesn't always work
Post by: Maxim Levitsky on May 06, 2009, 01:50:11 am
Bump