I can test ommitting headers but a best way would be to analyse output of command cs find g mySymbol.
I f I can retrieve result of "cs find g mySymbol" command, I will be able to take the information that I need. => namespace On 2 déc, 01:32, Tony Mechelynck <[email protected]> wrote: > On 01/12/09 21:53, epanda wrote: > > > > > > > Hi, > > > I would like to force cscope to display me only the cpp definition of > > a symbol. > > > cs find g myfunc > > > displays > > > choice > > 1: header.h myfunc > > 2: header.cpp myfunc > > > I would like to tell cs to display only cpp definition. > > > Thanks > > I suppose you can omit the *.h files when you generate the cscope > database? Or do you want to decide at run-time whether or not to include > them in the search? In that case I'm afraid the only solution would be > to generate two cscope databases under different names, and ":cs add" > (or ":cs kill") one, the other, or both, depending on circumstances. > > See > man cscope > (if you have the cscope manpage on Unix, Linux, Cygwin, ...) > http://vim.wikia.com/wiki/Cscope#Generating_the_database > where you will find an example explicitly listing which > files I want cscope to scan > > Best regards, > Tony. > -- > Meeting, n.: > An assembly of people coming together to decide what person or > department not represented in the room must solve a problem.- Masquer le > texte des messages précédents - > > - Afficher le texte des messages précédents - -- You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php
