Friday, February 10, 2012

Re: Can vim search all references to a function call?

On Feb 9, 11:41 pm, ppp <phoenixy...@gmail.com> wrote:
> Hi,
>
> What's the easiest way to do a reverse ctag lookup: finding all
> locations that call the function under the cursor?
>

I've recently starting using eclim, which provides integration between
Eclipse and Vim. Eclipse is very good at this sort of thing. With
eclim, you can use many Eclipse features – including not only function
calls but also a full call tree, code completion, and more – right in
Vim. It's actually pretty much replaced cscope for me, which has a
known bug where function calls which have the opening '(' on a
separate line from the function name (something that happens a lot in
the codebases at my work). If you go with cscope, there's actually a
plugin for Vim which uses cscope to build a call tree:

http://www.vim.org/scripts/script.php?script_id=2368

--
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

No comments:

Post a Comment