Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: Andrey on November 20, 2009, 06:02:37 pm
-
firstly, let me thank you for the C::B, it's cool!
From time to time I run into problems with auto-completion (C::B 8.02, ubuntu 9.10 i686) for symbols for the parsed files (I can tell that because some other symbols from the same <path>/*.h appear as expected).
Here is an example:
I've added /usr/include/X11 to project's C++ parser options and after reopening the project completion understands XGenericEvent from Xlib.h, but doesn't understand XEvent from the same file. Actually it doesn't understand any of XGetXXX functions.
Another similar problem is that after a method is added to superclass (in my case it was done by wxFormBuilder), and files were reloaded by C::B, "insert > class method..." dialog doesn't recognize the new method neither in that class, not in its descendants.
Also, it would be great if parser could be invoked manually, by a toolbar button/menu, in order not to close*open the project. I would like C::B to give more feedback on parser status - what was parsed, what wasn't, etc (maybe some diagnosis?)
Thanks.
-
Also, it would be great if parser could be invoked manually, by a toolbar button/menu, in order not to close*open the project. I would like C::B to give more feedback on parser status - what was parsed, what wasn't, etc (maybe some diagnosis?)
Concerning the parser you *definitely* want to try a nightly. It has improved a lot and some improvements are still pending which will be applied soon.
About the feedback:
CC has a debugging mode accessible through the symbols browser. You can read all about it in the WiKi here:
http://wiki.codeblocks.org/index.php?title=Code_Completion_Design#Code_completion_debugging_support
-
some improvements are still pending which will be applied soon.
Just be curious what are they? :wink:
-
Just be curious what are they? :wink:
You should know when following the forum threads. Some are documentation, cosmetic, some are about template handling. The latter is still kind of untested that's why I don't commit so far.