News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Code completion doesn't always work

Started by Maxim Levitsky, April 16, 2009, 02:19:04 PM

Previous topic - Next topic

Maxim Levitsky

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

ollydbg

Works fine in Windows with Mingw and wxWidgets and many libraries.

My question:

Did you add the related header file in your project?
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Maxim Levitsky

#2
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)

Maxim Levitsky

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)


Maxim Levitsky