User forums > Using Code::Blocks

Cross reference?

(1/3) > >>

erezz:
Hi,

I'm new to codeblocks and couldn't find anything about cross reference. Here's what I would like to do:

If I have code that looks like this:


--- Code: ---void f1()
{
}

void f2()
{
    f1();
}

int main()
{
    f1();
}

--- End code ---

I want to be able to view all calls to f1(). Is it possible? Of course, I can just use the search tool, but I prefer to be able to right-click a symbol and find where it is used.

Thanks,
Erez

MortenMacFly:

--- Quote from: erezz on December 29, 2011, 12:54:42 pm ---I want to be able to view all calls to f1().

--- End quote ---
Yes, if you are using the CScope plugin. As you didn't mention anything about your configuration I cant help more.

erezz:
I'm running v10.05 on ubuntu. How do I install this plugin? Do I need to compile it?

Thanks,
Erez

oBFusCATed:
Do you have the contrib plugins installed? You need to install codeblocks-contrib package.

But, I'm not sure if the cscope plugin is available in 10.05.
If it is not available you'll have to use a nightly build from Jens' repo @ apt.jenslody.de

erezz:
I've just installed codeblocks-contrib. How can I check if cscope is available for v10.05? In general, where can I look for plugins for v10.05?

Thanks,
Erez

Navigation

[0] Message Index

[#] Next page

Go to full version