Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: theultramage on February 19, 2007, 10:00:43 pm
-
I've been trying out CodeBlocks as a potential replacement for one well-known bloated windows IDE, but I found that it seems to lack several things
- include files crawling
- 'find declaration' and 'find implementation' only seem to work in project's files, not included vendor files
- seems to work for code completion, tho' - tighter gdb integration
- I've seen Eclipse display values of variables when hovering over them
Are these features present and I just missed them somehow? Or are they not present? If so then are they planned to be implemented?
-
- I've seen Eclipse display values of variables when hovering over them
Settings->Compiler and debugger->Debugger settings->Evaluate expression under cursor
(Note: You haven't stated which version of C::B you're using, so I assume you're using a Nightly Build (http://forums.codeblocks.org/index.php?board=20.0).)
Are these features present and I just missed them somehow? Or are they not present? If so then are they planned to be implemented?
The best way to ensure that a feature is planned is to file a feature request.
-
Hi !
'find declaration' and 'find implementation' only seem to work in project's files, not included vendor files
You can set include dirs in the compiler settings, either in "Settings/Compiler and debugger" or in the project Build options (Search directories/compiler)
Normally, if you can compile your file, you can use the 'Find declaration'.
It's true that the 'Find implementation' works only if function/method is implemented in the workspace (not the project).
Dje
-
Variable contents are shown in tool tips, if you use a recent version of Code::Blocks.
The "find declaration" feature should work with any files included in a recent version of Code::Blocks, too (although I have code completion disabled, so I cannot really tell 100% sure).
-
Mmm, CodeBlocks indeed does as you described, I was just looking elsewhere. Thank you for the info. :)
CB indeed crawls and indexes include files, but only gathers function headers. I was trying to find a class declaration.
(so, what about classes?)