It seems like with CodeBlocks, autocompletion only works on variables/classes you have made yourself in your current project. But with VS2010, if I use something from some other library that I included, it will show me everything about the function or all the attributes to a variable when I go to use it. CodeBlocks just does nothing.
From my point of view, that was not correct.
If you include the header files of "other library" in your current project, then is can show autocompletion correctly. because the headers from the "other library" can be parsed.
Am I not seeing an option in CodeBlocks to enable a better auto completion? I'd way rather use CodeBlocks than VS2010 since I supporting open source software, but VS2010's auto completion is keeping me going back to it right now since it's just so awesome.
There are several "options" to improve the CodeCompletion plugin. Current implementation do not have a sematic analysis, so in the future, a full compiler front end can help us lot.
They are:
1, using Clang library, it supply a libclang library with C interface, it was licensed under LLVM (a BSD like license)
2, or using gccsense, come from a hacked gcc code base, it was licensed under GPLV3
See all the discussion on this forum:
CodeCompletion redesignBTW: both of them need a lot of work. If you have some interest, welcome to discuss and cooperate.
