tags:

views:

372

answers:

1

Is there any utility or plugin which provides cscope like functionality for C++. I am looking for

  • all references to a symbol
  • global definitions
  • functions called by a function
  • functions calling a function
  • files including a file
+2  A: 

Vim can interface directly with cscope out of the box. Type :h cscope. This requires cscope functionality to be enabled when Vim is compiled and for cscope to be installed on your computer.

There is a Vim + cscope tutorial on the cscope web page.

Dave Kirby
unfortunately, it doesn't work that well with C++
UncleZeiv
is there any other tool which can provide similar functionality
Yogesh Arora
I have found a program called Silent Bob (http://silentbob.sourceforge.net/), but have not tried it. It claims to support C++, perl and Python.
Dave Kirby