User forums > Using Code::Blocks

help! right-click to "find declaration of..." not working??

(1/2) > >>

oats:
Hi,
I have been using code::blocks for quite a while, but am not a very advanced user.  I am quite used to the feature where I can right-click on a function/variable and jump to its declaration or implementation.  I have gotten this to work in the past, but I just created a new project and I don't know what I need to do.  The problem is that the function or class data has not been compiled yet, I think.  How can I do this?

One problem is that I am using CB as my dev environment, but I can't actually use it to compile.  The two development environments I use are MPLAB (for embedded developement) and NI LabWindows (for GUI development) and neither compiler is compatible with CB.  Still, the projects I create are just basic C code, so CB should be able to browse the functions and variables?  Please help!
Thanks!

MortenMacFly:

--- Quote from: oats on November 08, 2007, 06:12:27 pm ---Please help!

--- End quote ---
Post a sample project and users might be able to setup a C::B project properly for you.
With regards, Morten.

oats:
i am not that concerned with compiling right now.... i just want the right-click to "find declaration of" to work!!

what is required to do so?  do i need to compile somehow?

MortenMacFly:

--- Quote from: oats on November 09, 2007, 04:13:05 pm ---what is required to do so?  do i need to compile somehow?

--- End quote ---
Thomas has reported similar issues. I'm sorry, but I can't help you here because it just works for me. You may want to PM Thomas but I'm not sure if he has the time to investigate. Anyway. If you provide a project I *might* be able to reproduce.
With regards, Morten.

dje:
Hi !

When this does not work:
I select the Symbols tab of the Management notebook
I right click on the Symbols item of the tree (root)
I click on re-parse now

This force the projects to be reparsed and the find items work again.

I hope it helps !

Dje

Navigation

[0] Message Index

[#] Next page

Go to full version