vim - How to ignore struct declarations and consider only definitions in cscope? -
I always use vim + cscope to check the symbol definition, and I always like the cscope declaration :
structure sk_buff;
As a definition, which always shows a long list file to choose Vim Actually, I want only definition:
skt_buff {...};
It seems that CTAF can solve this problem, but can it stop? Or am I wrong?
I have checked the source cscope, and I think it is difficult to modify the Lexus and Yake source from the beginning.
You are right, you can not do this just with cscope.
I use both coscope + ctags on both small and big projects every day.
I have found the most useful way of using these tools to use them both inside and with the cscope_maps.vim plugin.
It can not help you, but before she helps me, check information about using them together. I warn you that if you use the cscope_maps.vim plugin you might want to edit it and comment on the "cscopetag set" option.
Comments
Post a Comment