News:

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

Main Menu

missing features?

Started by theultramage, February 19, 2007, 10:00:43 PM

Previous topic - Next topic

theultramage

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?

TDragon

Quote from: theultramage on February 19, 2007, 10:00:43 PM
- 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.)

Quote
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.
[url="https://jmeubank.github.io/tdm-gcc/"]https://jmeubank.github.io/tdm-gcc/[/url] - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

dje

Hi !

Quote'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

thomas

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).
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

theultramage

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?)