User forums > Using Code::Blocks

How to use Cscope

(1/2) > >>

mmccarty12:
I think it is great that individuals are creating more and more add-ons to use with Code::Blocks.  I have been using Code::Blocks for 3 years now.  One thing I have noticed is that instructions/descriptions of the add-ons has been very lacking and it is getting frustrating.

I have checked up on Cscope and the other add-ons and can find documentation on how to use them either from the command line or from their given GUIs.  But, what I cannot find it how to use them in Code::Blocks. 
I have found that when you highlight a variable/function name and right click, more menu options come up.  But when I select either Find functions called by <name> or Find functions calling <name>, I get nothing in the Cscope panel. 
Where is the command that sets up the initial database for C::B::Cscope to work properly?  I have been through every menu and right click option I can find.

Can someone clear this up for all of us not in the know?

Jenna:
Do you have cscope installed ?
The plugin only makes use of the executable.

On linux you can use your favourite package manager to install it, on windows you should use a search-engine to find it's home page.

mmccarty12:
jens,

I do have Cscope installed in Code::Blocks.  The instructions on the internet I have found for Cscope discuss how to use it from the command line, not how to use it in C::B.  I would like to know how to use it from the C::B interface.  Are there instructions on how to do that?

Jenna:
I know that you have installed it in C::B, otherwise you would not be able to see the new menu-entries.
But what I want to know, whether you have installed the cscope-executable, that was build for your OS, and if yes is it in system-searchpath ?

The plugin just calls the exe and parses the output.

mmccarty12:
jens,

Thank you for the information.  That is the information I needed, that you had to have cscope installed to utilize the plugin.  Once that was done, then everything appears to work correctly.  But, that goes back to my original statement about the lack of instructions on how to use some of the plugins.

Navigation

[0] Message Index

[#] Next page

Go to full version