> On 16/06/09 05:03, Alessandro Antonello wrote:
>>
>> Hi, All!
>>
>> I know that commands like ':stselect' or  ':stjump' will list all the tags 
>> that
>> match and will split  the window when one is chosen.  But,  most  of the 
>> time I
>> just need  to check the signature  of a function  or the  parameters I  have 
>> to
>> pass.  List the  tags in the command  window isn't good since  the signature 
>> of
>> the function will disappear when I got back in '-- INSERT --' mode.
>>
>> There is  a way  to show  the tags  search result  in a  splited window  or 
>> the
>> quickfix window?  Having the possibility of see  the list of matches while I 
>> am
>> writing is enough and quick for me.
>>
>> Regards,
>> Alessandro Antonello
>
> If your Vim version is compiled with +cscope (and you have the cscope
> program installed), you can use that to get lists of answers either in
> the command window or as a quickfix list, your choice, and you can
> choose separately for each possible kind of query.
>
> See ":help if_cscop.txt", and you may be interested in a recent thread
> which I started on the vim_dev list, about using cscope with the Vim source.
>
>
> Best regards,
> Tony.
> --

Hi, Tony.

I think I am missing something here.  Or  I am not quite understanding what the
options are.  I have the 'cscope'  software installed and working.  I have GVim
configured and I  have some databases made.  But I still  cannot get the result
to be  put in the  quickfix window.  The 'cscopequickfix'  is set with  all the
options available plus the "-" sign.

    :set csqf=s-,g-,d-,c-,t-,e-,f-,i-

When I type the command ':cs find s fopen' the file "stdio.h" is opened and the
first match  is shown in the  command window.  It  shouldn't open  the quickfix
window with  the list of  matches found?  Notice that  this identifier is  in a
cscope database.  If I use ':cst  fopen' instead it doesn't find anything,  the
message "E257: cstag: tag not found" is shown at the command window.

If I  use ':cs  find s CStr::toAnsi'  it does  not find  anything.  The message
"E259:  no matches  found for cscope query  s of  CStr::toAnsi" in  the command
window.  But if I use  ':cst CStr::toAnsi' it shows the list  of matches in the
command window.  Notice that this identifier is in a tags file.

In none of the operations above the result is shown in a quickfix window.  What
am I missing here?

-- Ale

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to