Friday, April 23, 2010

Re: A question about the usage of cscope ?

robert song wrote:
> hello, everyone.
> If I search for a string in the source code,
> by typing :cs f t foo
> then a list of the results will be shown, but I can't search quickly
> in the list, but watch line by line to find the one I search for.
> Is there any tip that help to solve the problem?
> For example, save the list to buffer?
>
The cecscope plugin provides a nice interface to cscope with vim. You
can get it from:

http://vim.sourceforge.net/scripts/script.php?script_id=1453 (stable)
http://mysite.verizon.net/astronaut/vim/index.html#CECSCOPE
(cutting edge)

I think the quickfix style is what you'd want; try :CSL s , for
example, to find (globally) the word under the cursor.

Regards,
Chip Campbell

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

Subscription settings: http://groups.google.com/group/vim_use/subscribe?hl=en

No comments:

Post a Comment