Differences between Cscope and IdUtils

200 views
Skip to first unread message

Ajay Jain

unread,
Dec 22, 2010, 11:20:45 PM12/22/10
to vim...@googlegroups.com
Hi,

In Vim, I started using CScope some time back and found it to be quite
useful. Now, I have also come across IDutils. Could you please tell me
.. what is better? I guess both tools serve the same purpose. Is there
anything that IDutils provides which CScope does not?

I know that there would be great programmers on the list who use Vim.
Do they recommend something .. should I use Cscope OR IDutils OR both?

Thanks,
Ajay.

C K Kashyap

unread,
Dec 23, 2010, 1:26:27 AM12/23/10
to vim...@googlegroups.com
I've used cscope and was happy with it until now ...
but from what I gather, idutils is a more generic tool ... would love
to hear some comments on it.

> --
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>

Yegappan Lakshmanan

unread,
Dec 23, 2010, 10:09:16 AM12/23/10
to vim...@googlegroups.com
Hi,

On Wed, Dec 22, 2010 at 8:20 PM, Ajay Jain <aja...@gmail.com> wrote:
> Hi,
>
> In Vim, I started using CScope some time back and found it to be quite
> useful. Now, I have also come across IDutils. Could you please tell me
> .. what is better? I guess both tools serve the same purpose. Is there
> anything that IDutils provides which CScope does not?
>

The Gnu id-utils (gid) allows you to perform a quick search of the source
base for an identifier. For example, you can use this to get a list of
all the locations where a function or structure or a variable is used.
The GNU id-utils also can search for an identifier approximately (aid).

You cannot use id-utils to get a list of functions calling a function
or functions called by a function.

For more information, refer to the following page:
http://www.gnu.org/software/idutils/manual/idutils.html

I have developed a Vim plugin that integrates id-utils with Vim. You can
download this from http://www.vim.org/scripts/script.php?script_id=251

There is also another Gnu tool called global that helps in browsing
code. For more information about this tool, refer to
http://www.gnu.org/software/global/

- Yegappan

Reply all
Reply to author
Forward
0 new messages