Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: oats on November 08, 2007, 06:12:27 pm
-
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!
-
Please help!
Post a sample project and users might be able to setup a C::B project properly for you.
With regards, Morten.
-
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?
-
what is required to do so? do i need to compile somehow?
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.
-
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
-
Dje,
thanks so much!!! this is exactly what I needed to do! you are the best!
note to developers, i think a better design would automatically re-parse whenever a given function could not be found. also perhaps placing this "re-parse symbols" command somewhere in the main menubar as well. i spent a long time looking in the main menubar.
-
thanks so much!!! this is exactly what I needed to do! you are the best!
8) A pleasure to help you !
i think a better design would automatically re-parse whenever a given function could not be found. also perhaps placing this "re-parse symbols" command somewhere in the main menubar as well. i spent a long time looking in the main menubar.
Few time ago, all was automatically managed.
I think there is a regression and what I gave is just a workaround.
Dje